public function AbstractClassMetadataFactory::hasMetadataFor in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/AbstractClassMetadataFactory.php \Doctrine\Common\Persistence\Mapping\AbstractClassMetadataFactory::hasMetadataFor()
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.
Overrides ClassMetadataFactory::hasMetadataFor
File
- vendor/
doctrine/ common/ lib/ Doctrine/ Common/ Persistence/ Mapping/ AbstractClassMetadataFactory.php, line 250
Class
- AbstractClassMetadataFactory
- The ClassMetadataFactory is used to create ClassMetadata objects that contain all the metadata mapping informations of a class which describes how a class should be mapped to a relational database.
Namespace
Doctrine\Common\Persistence\MappingCode
public function hasMetadataFor($className) {
return isset($this->loadedMetadata[$className]);
}