lib/Doctrine/DBAL/Platforms/AbstractPlatform.php
public function quoteIdentifier($str)
    {
        if (strpos($str, '.') !== false) {
            $parts = array_map([$this, 'quoteSingleIdentifier'], explode('.', $str));

            return implode('.', $parts);
        }

        return $this->quoteSingleIdentifier($str);
    }
public function quoteIdentifier($str)
    {
        if (strpos($str, '.') !== false) {
            $parts = array_map([$this, 'quoteSingleIdentifier'], explode('.', $str));

            return implode('.', $parts);
        }

        return $this->quoteSingleIdentifier($str);
    }
public function quoteIdentifier ( $ str ) { if ( strpos ( $ str , '.' ) !== false ) { $ parts = array_map ( [ $ this , 'quoteSingleIdentifier' ] , explode ( '.' , $ str ) ) ; return implode ( '.' , $ parts ) ; } return $ this -> quoteSingleIdentifier ( $ str ) ; }
Quotes a string so that it can be safely used as a table or column name,
even if it is a reserved word of the platform. This also detects identifier
chains separated by dot and quotes them independently.

NOTE: Just because you CAN use quoted identifiers doesn't mean
you SHOULD use them. In general, they end up causing way more
problems than they solve.

@param string $str The identifier name to be quoted.

@return string The quoted identifier string.
Quotes a string so that it can be safely used as a table or column name even if it is a reserved word of the platform . This also detects identifier chains separated by dot and quotes them independently .