Bolt\Storage\Mapping\MetadataDriver::getClassMetadata PHP 메소드

getClassMetadata() 공개 메소드

Returns the metadata for a given class name.
public getClassMetadata ( string $className ) : Doctrine\Common\Persistence\Mapping\ClassMetadata | false
$className string
리턴 Doctrine\Common\Persistence\Mapping\ClassMetadata | false The class metadata.
    public function getClassMetadata($className)
    {
        if (!$this->initialized) {
            $this->initialize();
        }
        if (array_key_exists($className, $this->metadata)) {
            return $this->metadata[$className];
        }
        return false;
    }