void addHidden(array|string|null $attributes = null) Add hidden attributes for the model. Parameters array|string|null $attributes Return Value void
static mixed addGlobalScope(Scope|Closure|string $scope, Closure $implementation = null) Register a new global scope on the model. Parameters Scope|Closure|string $scope Closure $implementation Return Value mixed Exceptions InvalidArgumentException
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 runDatabaseMigrations() Define hooks to migrate the database before and after each test. Return Value void
DatabaseMigrations trait DatabaseMigrations (View source) Methods void runDatabaseMigrations() Define hooks to migrate the database before and after each test.
void __construct(ConnectionResolverInterface $resolver, string $table) Create a new database migration repository instance. Parameters ConnectionResolverInterface $resolver string $table Return Value void
void setSource(string $name) Set the information source to gather data. Parameters string $name Return Value void
bool repositoryExists() Determine if the migration repository exists. Return Value bool
void log(string $file, int $batch) Log that a migration was run. Parameters string $file int $batch Return Value void
array getRan() Get the ran migrations. Return Value array
Page 767 of 996