array jsonSerialize() Convert the object into something JSON serializable
array getRelations() Get all the loaded relations for the instance.
void __wakeup() Restore the model after serialization.
static Builder onWriteConnection()
Collection mapWithKeys(callable $callback)
bool push() Save the model and all of its relationships.
static void creating(Closure|string $callback, int $priority)
array toArray() Get an array representation of the message.
void offsetSet(mixed $key, mixed $value) Set the item at a given offset
bool hasSetMutator(string $key) Determine if a set mutator exists for an
Page 10 of 42