static void unsetEventDispatcher() Unset the event dispatcher for models. Return Value void
static void unsetConnectionResolver() Unset the connection resolver 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
bool totallyGuarded() Determine if the model is totally guarded. Return Value bool
string toJson(int $options) Convert the model instance to JSON. Parameters int $options Return Value string
array toArray() Convert the model instance to an array. Return Value array
Page 752 of 996