Model::__construct()

void __construct(array $attributes = array()) Create a new Eloquent model instance. Parameters array $attributes Return Value void

Model::__callStatic()

static mixed __callStatic(string $method, array $parameters) Handle dynamic static method calls into the method. Parameters string $method array $parameters Return Value mixed

Model::__call()

mixed __call(string $method, array $parameters) Handle dynamic method calls into the model. Parameters string $method array $parameters Return Value mixed

Model::with()

static Builder|Model with(array|string $relations) Begin querying a model with eager loading. Parameters array|string $relations Return Value Builder|Model

Model::usesTimestamps()

bool usesTimestamps() Determine if the model uses timestamps. Return Value bool

Model::updating()

static void updating(Closure|string $callback, int $priority) Register an updating model event with the dispatcher. Parameters Closure|string $callback int $priority Return Value void

Model::updated()

static void updated(Closure|string $callback, int $priority) Register an updated model event with the dispatcher. Parameters Closure|string $callback int $priority Return Value void

Model::update()

bool update(array $attributes = array(), array $options = array()) Update the model in the database. Parameters array $attributes array $options Return Value bool

Model::unsetEventDispatcher()

static void unsetEventDispatcher() Unset the event dispatcher for models. Return Value void

Model::unsetConnectionResolver()

static void unsetConnectionResolver() Unset the connection resolver for models. Return Value void