Model save(
static void setEventDispatcher(Dispatcher
void addConstraints() Set the base constraints on the relation query.
string getRouteKeyName() Get the route key for the model.
array getDirty() Get the attributes that have been changed since last sync
Builder getRelationQuery(
array getGlobalScopes() Get the global scopes for this class instance.
$this syncOriginal() Sync the original attributes with the current.
Collection|
mixed getKey() Get the value of the model's primary key.
Page 72 of 87