DatabaseNotification::isUnguarded()

static bool isUnguarded() Determine if current state is "unguarded". Return Value bool

DatabaseNotification::isGuarded()

bool isGuarded(string $key) Determine if the given key is guarded. Parameters string $key Return Value bool

DatabaseNotification::isFillable()

bool isFillable(string $key) Determine if the given attribute may be mass assigned. Parameters string $key Return Value bool

DatabaseNotification::isDirty()

bool isDirty(array|string|null $attributes = null) Determine if the model or given attribute(s) have been modified. Parameters array|string|null $attributes Return Value bool

DatabaseNotification::isClean()

bool isClean(array|string|null $attributes = null) Determine if the model or given attribute(s) have remained the same. Parameters array|string|null $attributes Return Value bool

DatabaseNotification::is()

bool is(Model $model) Determine if two models have the same ID and belong to the same table. Parameters Model $model Return Value bool

DatabaseNotification::hydrateRaw()

static Collection hydrateRaw(string $query, array $bindings = array(), string|null $connection = null) Create a collection of models from a raw query. Parameters string $query array $bindings string|null $connection Return Value Collection

DatabaseNotification::hydrate()

static Collection hydrate(array $items, string|null $connection = null) Create a collection of models from plain arrays. Parameters array $items string|null $connection Return Value Collection

DatabaseNotification::hasSetMutator()

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

DatabaseNotification::hasOne()

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