protected function getColumnName($name, $prefix = false)
    {
        $name = snake_case($name);

        if ($prefix) {
            $name = $prefix.'_'.$name;
        }

        return $name;
    }
protected function getColumnName($name, $prefix = false)
    {
        $name = snake_case($name);

        if ($prefix) {
            $name = $prefix.'_'.$name;
        }

        return $name;
    }
protected function getColumnName ( $ name , $ prefix = false ) { $ name = snake_case ( $ name ) ; if ( $ prefix ) { $ name = $ prefix . '_' . $ name ; } return $ name ; }
Get column name of a name.

@param string $name
@param boolean $prefix
@return string
Get column name of a name .