Connection getConnection() Get the database connection for the model. Return Value Connection
string getConnectionName() Get the current connection name for the model. Return Value string
static ConnectionResolverInterface getConnectionResolver() Get the connection resolver instance. Return Value ConnectionResolverInterface
string getCreatedAtColumn() Get the name of the "created at" column. Return Value string
array getDates() Get the attributes that should be converted to dates. Return Value array
array getDirty() Get the attributes that have been changed since last sync. Return Value array
static Dispatcher getEventDispatcher() Get the event dispatcher instance. Return Value Dispatcher
array getFillable() Get the fillable attributes for the model. Return Value array
string getForeignKey() Get the foreign key column name. Return Value string
static Scope|Closure|null getGlobalScope(Scope|string $scope) Get a global scope registered with the model. Parameters Scope|string $scope Return Value Scope|Closure|null
Page 9583 of 11844