lib/Doctrine/ODM/CouchDB/Proxy/ProxyFactory.php
private function getProxyFileName($className, $baseDir = null)
    {
        $proxyDir = $baseDir ?: $this->proxyDir;

        return $proxyDir . DIRECTORY_SEPARATOR . '__CG__' . str_replace('\\', '', $className) . '.php';
    }
private function getProxyFileName($className, $baseDir = null)
    {
        $proxyDir = $baseDir ?: $this->proxyDir;

        return $proxyDir . DIRECTORY_SEPARATOR . '__CG__' . str_replace('\\', '', $className) . '.php';
    }
Generate the Proxy file name

@param string $className
@param string $baseDir Optional base directory for proxy file name generation.
If not specified, the directory configured on the Configuration of the
EntityManager will be used by this factory.
@return string