DatabaseNotification::hasManyThrough()

HasManyThrough hasManyThrough(string $related, string $through, string|null $firstKey = null, string|null $secondKey = null, string|null $localKey = null) Define a has-many-through relationship. Parameters string $related string $through string|null $firstKey string|null $secondKey string|null $localKey Return Value HasManyThrough

DatabaseNotification::hasMany()

HasMany hasMany(string $related, string $foreignKey = null, string $localKey = null) Define a one-to-many relationship. Parameters string $related string $foreignKey string $localKey Return Value HasMany

DatabaseNotification::hasGlobalScope()

static bool hasGlobalScope(Scope|string $scope) Determine if a model has a global scope. Parameters Scope|string $scope Return Value bool

DatabaseNotification::hasGetMutator()

bool hasGetMutator(string $key) Determine if a get mutator exists for an attribute. Parameters string $key Return Value bool

DatabaseNotification::hasCast()

bool hasCast(string $key, array|string|null $types = null) Determine whether an attribute should be cast to a native type. Parameters string $key array|string|null $types Return Value bool

DatabaseNotification::guard()

$this guard(array $guarded) Set the guarded attributes for the model. Parameters array $guarded Return Value $this

DatabaseNotification::getVisible()

array getVisible() Get the visible attributes for the model. Return Value array

DatabaseNotification::getUpdatedAtColumn()

string getUpdatedAtColumn() Get the name of the "updated at" column. Return Value string

DatabaseNotification::getTouchedRelations()

array getTouchedRelations() Get the relationships that are touched on save. Return Value array

DatabaseNotification::getTable()

string getTable() Get the table associated with the model. Return Value string