You are here

private function ProxyGenerator::generateClassName in Plug 7

Generates the original class name.

Parameters

\Doctrine\Common\Persistence\Mapping\ClassMetadata $class:

Return value

string

File

lib/doctrine/common/lib/Doctrine/Common/Proxy/ProxyGenerator.php, line 345

Class

ProxyGenerator
This factory is used to generate proxy classes. It builds proxies from given parameters, a template and class metadata.

Namespace

Doctrine\Common\Proxy

Code

private function generateClassName(ClassMetadata $class) {
  return ltrim($class
    ->getName(), '\\');
}