code: private function getProxyFileName($className, $baseDir = null)
      {
          $proxyDir = $baseDir ?: $this->proxyDir;
  
          return $proxyDir . DIRECTORY_SEPARATOR . '__CG__' . str_replace('\\', '', $className) . '.php';
      }
docs: 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