public function FileDriver::getAllClassNames in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/Driver/FileDriver.php \Doctrine\Common\Persistence\Mapping\Driver\FileDriver::getAllClassNames()
Gets the names of all mapped classes known to this driver.
Return value
array The names of all mapped classes known to this driver.
Overrides MappingDriver::getAllClassNames
File
- vendor/
doctrine/ common/ lib/ Doctrine/ Common/ Persistence/ Mapping/ Driver/ FileDriver.php, line 142
Class
- FileDriver
- Base driver for file-based metadata drivers.
Namespace
Doctrine\Common\Persistence\Mapping\DriverCode
public function getAllClassNames() {
if ($this->classCache === null) {
$this
->initialize();
}
$classNames = (array) $this->locator
->getAllClassNames($this->globalBasename);
if ($this->classCache) {
$classNames = array_merge(array_keys($this->classCache), $classNames);
}
return $classNames;
}