src/Console/Controllers/BaseMigrateController.php
protected function generateMigrationSourceCode($params, RequestApplicationInterface $app)
    {
        return $this->renderFile($app, \Reaction::$app->getAlias($this->templateFile), $params);
    }
protected function generateMigrationSourceCode($params, RequestApplicationInterface $app)
    {
        return $this->renderFile($app, \Reaction::$app->getAlias($this->templateFile), $params);
    }
Generates new migration source PHP code.
Child class may override this method, adding extra logic or variation to the process.
@param array                       $params generation parameters, usually following parameters are present:

- name: string migration base name
- className: string migration class name

@param RequestApplicationInterface $app
@return string generated PHP code.