protected function setFields($method = 'addColumn')
    {
        $fields = $this->convertFieldsToArray();

        $template = array_map(array($this, $method), $fields);

        return implode("\n\t\t\t", $template);
    }
protected function setFields($method = 'addColumn')
    {
        $fields = $this->convertFieldsToArray();

        $template = array_map(array($this, $method), $fields);

        return implode("\n\t\t\t", $template);
    }
protected function setFields ( $ method = 'addColumn' ) { $ fields = $ this -> convertFieldsToArray ( ) ; $ template = array_map ( array ( $ this , $ method ) , $ fields ) ; return implode ( "\n\t\t\t" , $ template ) ; }
Create a string of the Schema fields that
should be inserted into the sub template.

@param string $method (addColumn | dropColumn)
@return string
Create a string of the Schema fields that should be inserted into the sub template .