public function 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

drupal/core/vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/Driver/FileDriver.php, line 146

Class

FileDriver
Base driver for file-based metadata drivers.

Namespace

Doctrine\Common\Persistence\Mapping\Driver

Code

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;
}