array relationsToArray() Get the model's relationships in array form.
string toJson(int $options) Convert the model instance to JSON.
mixed getRouteKey() Get the value of the model's route key.
static Collection hydrate(array $items
static void saved(Closure|string $callback, int $priority)
MorphMany morphMany(string $related
$this setDateFormat(string $format) Set the date format used by the model
$this setAttribute(string $key, mixed $value) Set a given attribute on
$this makeHidden(array|string $attributes) Make the given, typically visible
string getForeignKey() Get the foreign key column name.
Page 1 of 87