Gets the names of all mapped classes known to this driver.
public getAllClassNames ( ) : array | ||
return | array | The names of all mapped classes known to this driver. |
/** * Forces the factory to load the metadata of all classes known to the underlying * mapping driver. * * @return 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; }