Doctrine\ODM\CouchDB\Mapping\ClassMetadataFactory::loadMetadata PHP Method

loadMetadata() protected method

Loads the metadata of the class in question and all it's ancestors whose metadata is still not loaded.
protected loadMetadata ( string $className ) : array
$className string The name of the class for which the metadata should get loaded.
return array
    protected function loadMetadata($className)
    {
        if (class_exists($className)) {
            return parent::loadMetadata($className);
        }
        throw MappingException::classNotFound($className);
    }