1
0
Fork 0

Use ClassLoader::set to initialize the class loader paths

pull/1871/head
Jordi Boggiano 2013-05-05 10:57:21 +02:00
parent dc71ba557b
commit 5ba147663d
5 changed files with 5 additions and 5 deletions

View File

@ -395,7 +395,7 @@ INCLUDE_PATH;
$file .= <<<'PSR0'
$map = require __DIR__ . '/autoload_namespaces.php';
foreach ($map as $namespace => $path) {
$loader->add($namespace, $path);
$loader->set($namespace, $path);
}

View File

@ -28,7 +28,7 @@ class ComposerAutoloaderInitFilesAutoloadOrder
$map = require __DIR__ . '/autoload_namespaces.php';
foreach ($map as $namespace => $path) {
$loader->add($namespace, $path);
$loader->set($namespace, $path);
}
$classMap = require __DIR__ . '/autoload_classmap.php';

View File

@ -28,7 +28,7 @@ class ComposerAutoloaderInitFilesAutoload
$map = require __DIR__ . '/autoload_namespaces.php';
foreach ($map as $namespace => $path) {
$loader->add($namespace, $path);
$loader->set($namespace, $path);
}
$classMap = require __DIR__ . '/autoload_classmap.php';

View File

@ -28,7 +28,7 @@ class ComposerAutoloaderInitIncludePath
$map = require __DIR__ . '/autoload_namespaces.php';
foreach ($map as $namespace => $path) {
$loader->add($namespace, $path);
$loader->set($namespace, $path);
}
$classMap = require __DIR__ . '/autoload_classmap.php';

View File

@ -28,7 +28,7 @@ class ComposerAutoloaderInitTargetDir
$map = require __DIR__ . '/autoload_namespaces.php';
foreach ($map as $namespace => $path) {
$loader->add($namespace, $path);
$loader->set($namespace, $path);
}
$classMap = require __DIR__ . '/autoload_classmap.php';