public function ObjectManagerDecorator::getClassMetadata in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/doctrine/common/lib/Doctrine/Common/Persistence/ObjectManagerDecorator.php \Doctrine\Common\Persistence\ObjectManagerDecorator::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
Overrides ObjectManager::getClassMetadata
File
- vendor/
doctrine/ common/ lib/ Doctrine/ Common/ Persistence/ ObjectManagerDecorator.php, line 112
Class
- ObjectManagerDecorator
- Base class to simplify ObjectManager decorators
Namespace
Doctrine\Common\PersistenceCode
public function getClassMetadata($className) {
return $this->wrapped
->getClassMetadata($className);
}