MigrationStatus
class MigrationStatus
Supports the tracking of migration status for tables.
Properties
| private string | $batch | The batch value for a particular migration. |
|
| private string | $name | The name of the migration class. |
|
| private string | $status | Indicates either a 'Ran' or 'Pending' status. |
Methods
__construct(string $batch, string $name, bool $isRan = false)
Setups the MigrationStatus object
string
getBatch()
Getter function for batch;
string
getName()
Getter function for migration class' name.
string
getStatus()
Getter function for status of the migration.
Details
at line 35
__construct(string $batch, string $name, bool $isRan = false)
Setups the MigrationStatus object
at line 46
string
getBatch()
Getter function for batch;
at line 55
string
getName()
Getter function for migration class' name.
at line 65
string
getStatus()
Getter function for status of the migration.