protected function quoteName(string $name): string
    {
        $name = str_replace('`', '', $name);
        if (stripos($name, ' AS ') === false) {
            return $this->quoteSimpleName($name);
        }
        return $this->quoteAliasedName($name);
    }
protected function quoteName(string $name): string
    {
        $name = str_replace('`', '', $name);
        if (stripos($name, ' AS ') === false) {
            return $this->quoteSimpleName($name);
        }
        return $this->quoteAliasedName($name);
    }
protected function quoteName ( string $ name ) : string { $ name = str_replace ( '`' , '' , $ name ) ; if ( stripos ( $ name , ' AS ' ) === false ) { return $ this -> quoteSimpleName ( $ name ) ; } return $ this -> quoteAliasedName ( $ name ) ; }
Quotes a table or field name.

@param string $name
@return string
Quotes a table or field name .