protected function getMethodParamerters(Field $field)
    {
        $params = count($field->methodParams) == 0 ? '' : ', ' . implode(',', $field->methodParams);

        if ($field->getEloquentDataMethod() == 'enum') {
            $params = ', ' . $this->getEnumParams($field);
        }

        return $params;
    }
protected function getMethodParamerters(Field $field)
    {
        $params = count($field->methodParams) == 0 ? '' : ', ' . implode(',', $field->methodParams);

        if ($field->getEloquentDataMethod() == 'enum') {
            $params = ', ' . $this->getEnumParams($field);
        }

        return $params;
    }
protected function getMethodParamerters ( Field $ field ) { $ params = count ( $ field -> methodParams ) == 0 ? '' : ', ' . implode ( ',' , $ field -> methodParams ) ; if ( $ field -> getEloquentDataMethod ( ) == 'enum' ) { $ params = ', ' . $ this -> getEnumParams ( $ field ) ; } return $ params ; }
Constructs the second parameter to the type method

@param CrestApps\CodeGenerator\Models\Field $field

@return string
Constructs the second parameter to the type method