DatabaseNotification::addHidden()

void addHidden(array|string|null $attributes = null) Add hidden attributes for the model. Parameters array|string|null $attributes Return Value void

DatabaseNotification::addGlobalScope()

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

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.

DatabaseMigrations::runDatabaseMigrations()

void runDatabaseMigrations() Define hooks to migrate the database before and after each test. Return Value void

DatabaseMigrations

DatabaseMigrations trait DatabaseMigrations (View source) Methods void runDatabaseMigrations() Define hooks to migrate the database before and after each test.

DatabaseMigrationRepository::__construct()

void __construct(ConnectionResolverInterface $resolver, string $table) Create a new database migration repository instance. Parameters ConnectionResolverInterface $resolver string $table Return Value void

DatabaseMigrationRepository::setSource()

void setSource(string $name) Set the information source to gather data. Parameters string $name Return Value void

DatabaseMigrationRepository::repositoryExists()

bool repositoryExists() Determine if the migration repository exists. Return Value bool

DatabaseMigrationRepository::log()

void log(string $file, int $batch) Log that a migration was run. Parameters string $file int $batch Return Value void

DatabaseMigrationRepository::getRan()

array getRan() Get the ran migrations. Return Value array