void __set(string $key, mixed $value) Dynamically set attributes on the model. Parameters string $key mixed $value Return Value void
void __construct(array $attributes = array()) Create a new Eloquent model instance. Parameters array $attributes Return Value void
mixed __get(string $key) Dynamically retrieve attributes on the model. Parameters string $key Return Value mixed
mixed __call(string $method, array $parameters) Handle dynamic method calls into the model. Parameters string $method array $parameters Return Value mixed
$this withHidden(array|string $attributes) deprecated deprecated since version 5.2. Use the "makeVisible" method directly. Make the given, typically hidden, attributes visible. Parameters array|string $attributes Return Value $this
static mixed __callStatic(string $method, array $parameters) Handle dynamic static method calls into the method. Parameters string $method array $parameters Return Value mixed
static Builder|Model with(array|string $relations) Begin querying a model with eager loading. Parameters array|string $relations Return Value Builder|Model
bool usesTimestamps() Determine if the model uses timestamps. Return Value bool
bool|int update(array $attributes = array(), array $options = array()) Update the model in the database. Parameters array $attributes array $options Return Value bool|int
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
Page 38 of 996