You are here

public function ObjectManagerDecorator::getMetadataFactory in Plug 7

Gets the metadata factory used to gather the metadata of classes.

Return value

\Doctrine\Common\Persistence\Mapping\ClassMetadataFactory

Overrides ObjectManager::getMetadataFactory

File

lib/doctrine/common/lib/Doctrine/Common/Persistence/ObjectManagerDecorator.php, line 120

Class

ObjectManagerDecorator
Base class to simplify ObjectManager decorators

Namespace

Doctrine\Common\Persistence

Code

public function getMetadataFactory() {
  return $this->wrapped
    ->getMetadataFactory();
}