You are here

public function AbstractClassMetadataFactory::getReflectionService in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/AbstractClassMetadataFactory.php \Doctrine\Common\Persistence\Mapping\AbstractClassMetadataFactory::getReflectionService()

Gets the reflection service associated with this metadata factory.

Return value

ReflectionService

2 calls to AbstractClassMetadataFactory::getReflectionService()
AbstractClassMetadataFactory::getMetadataFor in vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/AbstractClassMetadataFactory.php
Gets the class metadata descriptor for a class.
AbstractClassMetadataFactory::loadMetadata in vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/AbstractClassMetadataFactory.php
Loads the metadata of the class in question and all it's ancestors whose metadata is still not loaded.

File

vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/AbstractClassMetadataFactory.php, line 422

Class

AbstractClassMetadataFactory
The ClassMetadataFactory is used to create ClassMetadata objects that contain all the metadata mapping informations of a class which describes how a class should be mapped to a relational database.

Namespace

Doctrine\Common\Persistence\Mapping

Code

public function getReflectionService() {
  if ($this->reflectionService === null) {
    $this->reflectionService = new RuntimeReflectionService();
  }
  return $this->reflectionService;
}