public function ClassMetadataFactory::setMetadataFor in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/ClassMetadataFactory.php \Doctrine\Common\Persistence\Mapping\ClassMetadataFactory::setMetadataFor()
Sets the metadata descriptor for a specific class.
Parameters
string $className:
ClassMetadata $class:
1 method overrides ClassMetadataFactory::setMetadataFor()
- AbstractClassMetadataFactory::setMetadataFor in vendor/
doctrine/ common/ lib/ Doctrine/ Common/ Persistence/ Mapping/ AbstractClassMetadataFactory.php - Sets the metadata descriptor for a specific class.
File
- vendor/
doctrine/ common/ lib/ Doctrine/ Common/ Persistence/ Mapping/ ClassMetadataFactory.php, line 65
Class
- ClassMetadataFactory
- Contract for a Doctrine persistence layer ClassMetadata class to implement.
Namespace
Doctrine\Common\Persistence\MappingCode
public function setMetadataFor($className, $class);