You are here

public function ClassMetadataFactory::getMetadataFor in Plug 7

Gets the class metadata descriptor for a class.

Parameters

string $className The name of the class.:

Return value

ClassMetadata

1 method overrides ClassMetadataFactory::getMetadataFor()
AbstractClassMetadataFactory::getMetadataFor in lib/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/AbstractClassMetadataFactory.php
Gets the class metadata descriptor for a class.

File

lib/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/ClassMetadataFactory.php, line 47

Class

ClassMetadataFactory
Contract for a Doctrine persistence layer ClassMetadata class to implement.

Namespace

Doctrine\Common\Persistence\Mapping

Code

public function getMetadataFor($className);