You are here

public function ObjectManager::getClassMetadata in Plug 7

Returns the ClassMetadata descriptor for a class.

The class name must be the fully-qualified class name without a leading backslash (as it is returned by get_class($obj)).

Parameters

string $className:

Return value

\Doctrine\Common\Persistence\Mapping\ClassMetadata

1 method overrides ObjectManager::getClassMetadata()
ObjectManagerDecorator::getClassMetadata in lib/doctrine/common/lib/Doctrine/Common/Persistence/ObjectManagerDecorator.php
Returns the ClassMetadata descriptor for a class.

File

lib/doctrine/common/lib/Doctrine/Common/Persistence/ObjectManager.php, line 141

Class

ObjectManager
Contract for a Doctrine persistence layer ObjectManager class to implement.

Namespace

Doctrine\Common\Persistence

Code

public function getClassMetadata($className);