__construct()
__construct(\think\console\Input|null $input = null, \think\console\Output|null $output = null)
CreationInterface constructor.
Parameters
\think\console\Input|null | $input | |
\think\console\Output|null | $output |
Migration interface
__construct(\think\console\Input|null $input = null, \think\console\Output|null $output = null)
CreationInterface constructor.
\think\console\Input|null | $input | |
\think\console\Output|null | $output |
setInput(\think\console\Input $input) : \Phinx\Migration\CreationInterface
\think\console\Input | $input |
setOutput(\think\console\Output $output) : \Phinx\Migration\CreationInterface
\think\console\Output | $output |
getInput() : \think\console\Input
getOutput() : \think\console\Output
postMigrationCreation(string $migrationFilename, string $className, string $baseClassName) : void
Post Migration Creation.
Once the migration file has been created, this method will be called, allowing any additional processing, specific to the template to be performed.
string | $migrationFilename | The name of the newly created migration. |
string | $className | The class name. |
string | $baseClassName | The name of the base class. |