src/Way/Generators/templates/Data/Migration.php
public function fetch()
    {
        $parsedName = $this->getParsedMigrationName();
        $parsedFields = $this->getParsedMigrationFields();

        return [
            'class' => $this->getClass(),
            'up'    => $this->getMigrationUp($parsedName, $parsedFields),
            'down'  => $this->getMigrationDown($parsedName, $parsedFields)
        ];
    }
public function fetch()
    {
        $parsedName = $this->getParsedMigrationName();
        $parsedFields = $this->getParsedMigrationFields();

        return [
            'class' => $this->getClass(),
            'up'    => $this->getMigrationUp($parsedName, $parsedFields),
            'down'  => $this->getMigrationDown($parsedName, $parsedFields)
        ];
    }
public function fetch ( ) { $ parsedName = $ this -> getParsedMigrationName ( ) ; $ parsedFields = $ this -> getParsedMigrationFields ( ) ; return [ 'class' => $ this -> getClass ( ) , 'up' => $ this -> getMigrationUp ( $ parsedName , $ parsedFields ) , 'down' => $ this -> getMigrationDown ( $ parsedName , $ parsedFields ) ] ; }
Fetch the template data for a migration generation.

@return array
Fetch the template data for a migration generation .