src/Way/Generators/Syntax/RemoveFromTable.php
public function remove($migrationData, array $fields)
    {
        $migrationData['method'] = 'table';

        $compiled = $this->compiler->compile($this->getTemplate(), $migrationData);

        return $this->replaceFieldsWith($this->dropColumns($fields), $compiled);
    }
public function remove($migrationData, array $fields)
    {
        $migrationData['method'] = 'table';

        $compiled = $this->compiler->compile($this->getTemplate(), $migrationData);

        return $this->replaceFieldsWith($this->dropColumns($fields), $compiled);
    }
public function remove ( $ migrationData , array $ fields ) { $ migrationData [ 'method' ] = 'table' ; $ compiled = $ this -> compiler -> compile ( $ this -> getTemplate ( ) , $ migrationData ) ; return $ this -> replaceFieldsWith ( $ this -> dropColumns ( $ fields ) , $ compiled ) ; }
Compile and return string for removing columns

@param $migrationData
@param array $fields
@return mixed
Compile and return string for removing columns