src/Doctrine/ORM/NamingStrategy/UnderscoredBundlePrefixStrategy.php
private function getTableNamePrefix($className)
    {
        $name = ltrim($className, '\\');
        foreach ($this->namingMap as $prefix => $namespace) {
            if (strpos($name, $namespace) === 0) {
                return $prefix . '_';
            }
        }

        return '';
    }
private function getTableNamePrefix($className)
    {
        $name = ltrim($className, '\\');
        foreach ($this->namingMap as $prefix => $namespace) {
            if (strpos($name, $namespace) === 0) {
                return $prefix . '_';
            }
        }

        return '';
    }
private function getTableNamePrefix ( $ className ) { $ name = ltrim ( $ className , '\\' ) ; foreach ( $ this -> namingMap as $ prefix => $ namespace ) { if ( strpos ( $ name , $ namespace ) === 0 ) { return $ prefix . '_' ; } } return '' ; }
Get prefix for table from naming map.

@param string $className

@return string
Get prefix for table from naming map .