Matthew Kilgore 05aa62f70c feat: STUBS!
2021-12-01 17:36:36 -05:00

29 lines
759 B
Plaintext

<?php
namespace Illuminate\Database\Eloquent;
/**
* @implements \ArrayAccess<string, mixed>
*/
abstract class Model implements \JsonSerializable, \ArrayAccess
{
/**
* Update the model in the database.
*
* @param array<model-property<static>, mixed> $attributes
* @param array<int|string, mixed> $options
* @return bool
*/
public function update(array $attributes = [], array $options = []);
/**
* Begin querying a model with eager loading.
*
* @param non-empty-string|array<int|string, (\Closure)|string> $relations
* @return \Illuminate\Database\Eloquent\Builder<static>
*/
public static function with($relations);
}
class ModelNotFoundException extends \RuntimeException {}