Doctrine\Common\Persistence\Mapping\ClassMetadataFactory
Contract for a Doctrine persistence layer ClassMetadata class to implement.
- Author: Benjamin Eberlei <kontakt@beberlei.de>
- License: http://www.opensource.org/licenses/lgpl-license.php LGPL
Synopsis
interface ClassMetadataFactory
{
- // methods
- public array getAllMetadata()
- public ClassMetadata getMetadataFor()
- public boolean hasMetadataFor()
- public void setMetadataFor()
- public boolean isTransient()
Methods
public
- getAllMetadata() — Forces the factory to load the metadata of all classes known to the underlying mapping driver.
- getMetadataFor() — Gets the class metadata descriptor for a class.
- hasMetadataFor() — Checks whether the factory has the metadata for a class loaded already.
- isTransient() — Whether the class with the specified name should have its metadata loaded.
- setMetadataFor() — Sets the metadata descriptor for a specific class.