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
static void unsetConnectionResolver() Unset the connection resolver for models. Return Value void
static void unsetEventDispatcher() Unset the event dispatcher for models. Return Value void
static mixed unguarded(callable $callback) Run the given callable while being unguarded. Parameters callable $callback Return Value mixed
static void unguard(bool $state = true) Disable all mass assignable restrictions. Parameters bool $state Return Value void
void touchOwners() Touch the owning relations of the model. Return Value void
bool touches(string $relation) Determine if the model touches a given relation. Parameters string $relation Return Value bool
bool touch() Update the model's update timestamp. Return Value bool
array toArray() Convert the model instance to an array. Return Value array
string toJson(int $options) Convert the model instance to JSON. Parameters int $options Return Value string
Page 39 of 996