AbstractMigration class abstract
Framework\CLI\Commands\AbstractMigration
Class AbstractMigration.
Extends Framework\CLI\Command
Defined in libraries/dev-commands/src/AbstractMigration.php
Properties #
$migratorInstance
protected string $migratorInstance = 'default'
$group
protected string $group = 'Migrations'
Methods #
runMigration()
protected function runMigration(string $direction, string|int|null $arg = NULL): void
Parameters
- string $direction
- string|int|null $arg
Returns
void
Inherited methods #
-
__construct()fromFramework\CLI\Command -
run()fromFramework\CLI\Command -
getConsole()fromFramework\CLI\Command -
setConsole()fromFramework\CLI\Command -
getName()fromFramework\CLI\Command -
setName()fromFramework\CLI\Command -
getGroup()fromFramework\CLI\Command -
setGroup()fromFramework\CLI\Command -
getDescription()fromFramework\CLI\Command -
setDescription()fromFramework\CLI\Command -
getUsage()fromFramework\CLI\Command -
setUsage()fromFramework\CLI\Command -
getOptions()fromFramework\CLI\Command -
setOptions()fromFramework\CLI\Command -
isActive()fromFramework\CLI\Command -
activate()fromFramework\CLI\Command -
deactivate()fromFramework\CLI\Command