<?php
declare(strict_types=1);

namespace Test\Phinx\Console\Command\TemplateGenerators;

use Phinx\Migration\AbstractTemplateCreation;

class SimpleGenerator extends AbstractTemplateCreation
{
    /**
     * Get the migration template.
     *
     * This will be the content that Phinx will amend to generate the migration file.
     *
     * @return string The content of the template for Phinx to amend.
     */
    public function getMigrationTemplate(): string
    {
        return 'useClassName $useClassName / className $className / version $version / baseClassName $baseClassName';
    }

    /**
     * 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.
     *
     * @param string $migrationFilename The name of the newly created migration.
     * @param string $className The class name.
     * @param string $baseClassName The name of the base class.
     * @return void
     */
    public function postMigrationCreation(string $migrationFilename, string $className, string $baseClassName): void
    {
    }
}
