You are here

abstract protected function AbstractClassMetadataFactory::wakeupReflection in Plug 7

Wakes up reflection after ClassMetadata gets unserialized from cache.

Parameters

ClassMetadata $class:

ReflectionService $reflService:

Return value

void

2 calls to AbstractClassMetadataFactory::wakeupReflection()
AbstractClassMetadataFactory::getMetadataFor in lib/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/AbstractClassMetadataFactory.php
Gets the class metadata descriptor for a class.
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::wakeupReflection()
TestClassMetadataFactory::wakeupReflection in lib/doctrine/common/tests/Doctrine/Tests/Common/Persistence/Mapping/ClassMetadataFactoryTest.php
Wakes up reflection after ClassMetadata gets unserialized from cache.

File

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

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 wakeupReflection(ClassMetadata $class, ReflectionService $reflService);