You are here

public function ClassMetadataFactory::hasMetadataFor in Plug 7

Checks whether the factory has the metadata for a class loaded already.

Parameters

string $className:

Return value

boolean TRUE if the metadata of the class in question is already loaded, FALSE otherwise.

1 method overrides ClassMetadataFactory::hasMetadataFor()
AbstractClassMetadataFactory::hasMetadataFor in lib/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/AbstractClassMetadataFactory.php
Checks whether the factory has the metadata for a class loaded already.

File

lib/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/ClassMetadataFactory.php, line 56

Class

ClassMetadataFactory
Contract for a Doctrine persistence layer ClassMetadata class to implement.

Namespace

Doctrine\Common\Persistence\Mapping

Code

public function hasMetadataFor($className);