You are here

public function ClassMetadataFactory::setMetadataFor in Plug 7

Sets the metadata descriptor for a specific class.

Parameters

string $className:

ClassMetadata $class:

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

File

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