2012-08-01 08:12:46 +00:00
|
|
|
<?php
|
|
|
|
|
2013-08-27 23:08:38 +00:00
|
|
|
// autoload_real.php @generated by Composer
|
2012-08-01 08:12:46 +00:00
|
|
|
|
|
|
|
class ComposerAutoloaderInitFilesAutoload
|
|
|
|
{
|
2012-09-14 09:21:34 +00:00
|
|
|
private static $loader;
|
|
|
|
|
2012-11-10 20:54:23 +00:00
|
|
|
public static function loadClassLoader($class)
|
|
|
|
{
|
|
|
|
if ('Composer\Autoload\ClassLoader' === $class) {
|
|
|
|
require __DIR__ . '/ClassLoader.php';
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2012-08-01 08:12:46 +00:00
|
|
|
public static function getLoader()
|
|
|
|
{
|
2012-12-25 15:08:36 +00:00
|
|
|
if (null !== self::$loader) {
|
|
|
|
return self::$loader;
|
2012-09-14 09:21:34 +00:00
|
|
|
}
|
|
|
|
|
2013-03-16 15:14:55 +00:00
|
|
|
spl_autoload_register(array('ComposerAutoloaderInitFilesAutoload', 'loadClassLoader'), true, true);
|
2012-12-25 15:08:36 +00:00
|
|
|
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
2012-11-10 20:54:23 +00:00
|
|
|
spl_autoload_unregister(array('ComposerAutoloaderInitFilesAutoload', 'loadClassLoader'));
|
|
|
|
|
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) {
|
2013-05-05 08:57:21 +00:00
|
|
|
$loader->set($namespace, $path);
|
2012-08-01 08:12:46 +00:00
|
|
|
}
|
|
|
|
|
2013-11-26 01:53:44 +00:00
|
|
|
$map = require __DIR__ . '/autoload_psr4.php';
|
|
|
|
foreach ($map as $namespace => $path) {
|
|
|
|
$loader->setPsr4($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);
|
|
|
|
}
|
|
|
|
|
2013-01-08 16:34:37 +00:00
|
|
|
$loader->register(true);
|
2012-08-01 08:12:46 +00:00
|
|
|
|
2013-08-30 12:09:17 +00:00
|
|
|
$includeFiles = require __DIR__ . '/autoload_files.php';
|
|
|
|
foreach ($includeFiles as $file) {
|
2014-02-06 10:53:42 +00:00
|
|
|
composerRequireFilesAutoload($file);
|
2013-08-01 13:42:30 +00:00
|
|
|
}
|
2012-08-01 08:12:46 +00:00
|
|
|
|
|
|
|
return $loader;
|
|
|
|
}
|
|
|
|
}
|
2014-02-06 10:53:42 +00:00
|
|
|
|
|
|
|
function composerRequireFilesAutoload($file)
|
|
|
|
{
|
|
|
|
require $file;
|
|
|
|
}
|