Gets the names of all mapped classes known to this driver.
array The names of all mapped classes known to this driver.
Overrides MappingDriver::getAllClassNames
public function getAllClassNames() {
$classNames = array();
$driverClasses = array();
/* @var $driver MappingDriver */
foreach ($this->drivers as $namespace => $driver) {
$oid = spl_object_hash($driver);
if (!isset($driverClasses[$oid])) {
$driverClasses[$oid] = $driver
->getAllClassNames();
}
foreach ($driverClasses[$oid] as $className) {
if (strpos($className, $namespace) === 0) {
$classNames[$className] = true;
}
}
}
return array_keys($classNames);
}