Doctrine\OXM\Mapping\ClassMetadataFactory::getAllMetadata PHP Метод

getAllMetadata() публичный Метод

Forces the factory to load the metadata of all classes known to the underlying mapping driver.
public getAllMetadata ( ) : array
Результат array The ClassMetadata instances of all mapped classes.
    public function getAllMetadata()
    {
        if (!$this->initialized) {
            $this->initialize();
        }
        $mappings = array();
        foreach ($this->driver->getAllClassNames() as $className) {
            $mappings[] = $this->getMetadataFor($className);
        }
        return $mappings;
    }