You are here

public function ClassMetadataFactory::getMetadataFor in Zircon Profile 8

Same name in this branch
  1. 8 vendor/symfony/serializer/Mapping/Factory/ClassMetadataFactory.php \Symfony\Component\Serializer\Mapping\Factory\ClassMetadataFactory::getMetadataFor()
  2. 8 vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/ClassMetadataFactory.php \Doctrine\Common\Persistence\Mapping\ClassMetadataFactory::getMetadataFor()
Same name and namespace in other branches
  1. 8.0 vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/ClassMetadataFactory.php \Doctrine\Common\Persistence\Mapping\ClassMetadataFactory::getMetadataFor()

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 vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/AbstractClassMetadataFactory.php
Gets the class metadata descriptor for a class.

File

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