You are here

abstract protected function AbstractClassMetadataFactory::initialize in Plug 7

Lazy initialization of this stuff, especially the metadata driver, since these are not needed at all when a metadata cache is active.

Return value

void

3 calls to AbstractClassMetadataFactory::initialize()
AbstractClassMetadataFactory::getAllMetadata in lib/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/AbstractClassMetadataFactory.php
Forces the factory to load the metadata of all classes known to the underlying mapping driver.
AbstractClassMetadataFactory::isTransient in lib/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/AbstractClassMetadataFactory.php
Returns whether the class with the specified name should have its metadata loaded. This is only the case if it is either mapped directly or as a MappedSuperclass.
AbstractClassMetadataFactory::loadMetadata in lib/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.
1 method overrides AbstractClassMetadataFactory::initialize()
TestClassMetadataFactory::initialize in lib/doctrine/common/tests/Doctrine/Tests/Common/Persistence/Mapping/ClassMetadataFactoryTest.php
Lazy initialization of this stuff, especially the metadata driver, since these are not needed at all when a metadata cache is active.

File

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

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

protected abstract function initialize();