Flarum\Console\Command\GenerateMigrationCommand::fire PHP Méthode

fire() protected méthode

protected fire ( )
    protected function fire()
    {
        $name = $this->input->getArgument('name');
        $extension = $this->input->getOption('extension');
        $table = $this->input->getOption('table');
        $create = $this->input->getOption('create');
        if (!$table && is_string($create)) {
            $table = $create;
        }
        $this->writeMigration($name, $extension, $table, $create);
    }