MigrationStatus
final class MigrationStatus (View source)
Immutable snapshot of the migration status known to the framework.
Methods
__construct(array $registered, array $orphaned, bool $databaseAvailable = true)
Returns the registered migrations and their current states.
array
orphaned()
Returns applied migration identifiers that are no longer registered.
array
Indicates whether the database-backed migration history was available.
bool
Details
__construct
__construct(array $registered, array $orphaned, bool $databaseAvailable = true)
No description
registered
array
registered()
Returns the registered migrations and their current states.
orphaned
array
orphaned()
Returns applied migration identifiers that are no longer registered.
databaseAvailable
bool
databaseAvailable()
Indicates whether the database-backed migration history was available.