You are here

public function ClassMetadataFactory::setMetadataFor in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 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\Mapping

Code

public function setMetadataFor($className, $class);