You are here

public function ClassLoader::getPrefixes in Automatic Updates 7

Same name and namespace in other branches
  1. 8 vendor/composer/ClassLoader.php \Composer\Autoload\ClassLoader::getPrefixes()

File

vendor/composer/ClassLoader.php, line 60

Class

ClassLoader
ClassLoader implements a PSR-0, PSR-4 and classmap class loader.

Namespace

Composer\Autoload

Code

public function getPrefixes() {
  if (!empty($this->prefixesPsr0)) {
    return call_user_func_array('array_merge', $this->prefixesPsr0);
  }
  return array();
}