You are here

public function ObjectManager::getClassMetadata in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/doctrine/common/lib/Doctrine/Common/Persistence/ObjectManager.php \Doctrine\Common\Persistence\ObjectManager::getClassMetadata()

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 vendor/doctrine/common/lib/Doctrine/Common/Persistence/ObjectManagerDecorator.php
Returns the ClassMetadata descriptor for a class.

File

vendor/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);