Baum\Console\InstallCommand::writeMigration PHP Method

writeMigration() protected method

Write the migration file to disk.
protected writeMigration ( string $name ) : string
$name string
return string
    protected function writeMigration($name)
    {
        $output = pathinfo($this->migrator->create($name, $this->getMigrationsPath()), PATHINFO_FILENAME);
        $this->line("      <fg=green;options=bold>create</fg=green;options=bold>  {$output}");
    }