public function parse($name, $fields)
    {
        list($action, $tableName) = $this->parseMigrationName($name);

        $this->action = $action;
        $this->tableName = $tableName;
        $this->fields = $fields;

        return $this;
    }
public function parse($name, $fields)
    {
        list($action, $tableName) = $this->parseMigrationName($name);

        $this->action = $action;
        $this->tableName = $tableName;
        $this->fields = $fields;

        return $this;
    }
public function parse ( $ name , $ fields ) { list ( $ action , $ tableName ) = $ this -> parseMigrationName ( $ name ) ; $ this -> action = $ action ; $ this -> tableName = $ tableName ; $ this -> fields = $ fields ; return $ this ; }
Parse the migration name

@param  string $name
@param  array $fields
@return MigrationGenerator
Parse the migration name