| Fully Qualified Name: | CodeIgniter\Commands\Database\MigrateRollback |
| Extends: | BaseCommand |
Runs all of the migrations in reverse order, until they have all been un-applied.
| Name | Description | Defined By |
|---|---|---|
| __construct() | BaseCommand constructor. | BaseCommand |
| __get() | Makes it simple to access our protected properties. | BaseCommand |
| __isset() | Makes it simple to check our protected properties. | BaseCommand |
| getPad() | Get pad for $key => $value array output | BaseCommand |
| run() | Runs all of the migrations in reverse order, until they have all been un-applied. | MigrateRollback |
| showHelp() | show Help include (usage,arguments,description,options) | BaseCommand |
BaseCommand constructor.
| Parameter Name | Type | Description |
|---|---|---|
| $logger | \Psr\Log\LoggerInterface | |
| $commands | \CodeIgniter\CLI\CommandRunner |
Returns:
Makes it simple to access our protected properties.
| Parameter Name | Type | Description |
|---|---|---|
| $key | string |
Returns: mixed
Makes it simple to check our protected properties.
| Parameter Name | Type | Description |
|---|---|---|
| $key | string |
Returns: bool
Get pad for $key => $value array output
| Parameter Name | Type | Description |
|---|---|---|
| $array | array | |
| $pad | int |
Returns: int
Runs all of the migrations in reverse order, until they have all been un-applied.
| Parameter Name | Type | Description |
|---|---|---|
| $params | array |
Returns:
show Help include (usage,arguments,description,options)
Returns: