2012-08-01 08:12:46 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
// autoload_realFilesAutoload.php generated by Composer
|
2012-08-14 16:59:36 +00:00
|
|
|
|
2012-08-14 17:13:39 +00:00
|
|
|
require __DIR__ . '/ClassLoader.php';
|
2012-08-01 08:12:46 +00:00
|
|
|
|
|
|
|
class ComposerAutoloaderInitFilesAutoload
|
|
|
|
{
|
|
|
|
public static function getLoader()
|
|
|
|
{
|
|
|
|
$loader = new \Composer\Autoload\ClassLoader();
|
2012-08-06 09:33:17 +00:00
|
|
|
$vendorDir = dirname(__DIR__);
|
|
|
|
$baseDir = dirname($vendorDir);
|
2012-08-01 08:12:46 +00:00
|
|
|
|
2012-08-06 08:56:57 +00:00
|
|
|
$map = require __DIR__ . '/autoload_namespaces.php';
|
2012-08-01 08:12:46 +00:00
|
|
|
foreach ($map as $namespace => $path) {
|
|
|
|
$loader->add($namespace, $path);
|
|
|
|
}
|
|
|
|
|
2012-08-06 08:56:57 +00:00
|
|
|
$classMap = require __DIR__ . '/autoload_classmap.php';
|
2012-08-01 08:12:46 +00:00
|
|
|
if ($classMap) {
|
|
|
|
$loader->addClassMap($classMap);
|
|
|
|
}
|
|
|
|
|
|
|
|
$loader->register();
|
|
|
|
|
2012-08-18 12:58:55 +00:00
|
|
|
require $baseDir . '/root.php';
|
2012-08-01 08:12:46 +00:00
|
|
|
require $vendorDir . '/a/a/test.php';
|
|
|
|
require $vendorDir . '/b/b/test2.php';
|
|
|
|
|
|
|
|
return $loader;
|
|
|
|
}
|
|
|
|
}
|