Doctrine\Search\Mapping\ClassMetadata::initializeReflection PHP Method

initializeReflection() public method

Initializes a new ClassMetadata instance that will hold the object-relational mapping metadata of the class with the given name.
public initializeReflection ( Doctrine\Common\Persistence\Mapping\ReflectionService $reflService ) : void
$reflService Doctrine\Common\Persistence\Mapping\ReflectionService The reflection service.
return void
    public function initializeReflection($reflService)
    {
        $this->reflClass = $reflService->getClass($this->className);
        $this->className = $this->reflClass->getName();
        // normalize classname
    }