string anticipate(string $question, array $choices, string $default = null) Prompt the user for input with auto completion. Parameters string $question array $choices string $default Return Value string
void commands(array|mixed $commands) Register the package's custom Artisan commands. Parameters array|mixed $commands Return Value void
Grammar withTablePrefix(Grammar $grammar) Set the table prefix and return the grammar. Parameters Grammar $grammar Return Value Grammar
$this load(array|string $relations) Eager load relations on the model. Parameters array|string $relations Return Value $this
string compileEnableForeignKeyConstraints() Compile the command to enable foreign key constraints. Return Value string
string getRelatedFreshUpdate() Get the related model's updated at column name. Return Value string
static bool hasGlobalScope(Scope|string $scope) Determine if a model has a global scope. Parameters Scope|string $scope Return Value bool
mixed __call(string $method, array $parameters) Dynamically handle calls to the class. Parameters string $method array $parameters Return Value mixed Exceptions BadMethodCallException
DatabaseNotification class DatabaseNotification extends Model (View source) Constants CREATED_AT The name of the "created at" column. UPDATED_AT The name of the "updated at" column.
void setAsGlobal() Make this capsule instance available globally. Return Value void
Page 497 of 996