src/Way/Generators/Commands/MigrationGeneratorCommand.php
protected function getTemplateData()
    {
        $migrationName = $this->argument('migrationName');

        // This will tell us the table name and action that we'll be performing
        $migrationData = $this->migrationNameParser->parse($migrationName);

        // We also need to parse the migration fields, if provided
        $fields = $this->migrationFieldsParser->parse($this->option('fields'));

        return [
            'CLASS' => ucwords(camel_case($migrationName)),
            'UP'    => $this->schemaCreator->up($migrationData, $fields),
            'DOWN'  => $this->schemaCreator->down($migrationData, $fields)
        ];
    }
protected function getTemplateData()
    {
        $migrationName = $this->argument('migrationName');

        // This will tell us the table name and action that we'll be performing
        $migrationData = $this->migrationNameParser->parse($migrationName);

        // We also need to parse the migration fields, if provided
        $fields = $this->migrationFieldsParser->parse($this->option('fields'));

        return [
            'CLASS' => ucwords(camel_case($migrationName)),
            'UP'    => $this->schemaCreator->up($migrationData, $fields),
            'DOWN'  => $this->schemaCreator->down($migrationData, $fields)
        ];
    }
Fetch the template data

@return array