2016-08-27 05:49:28 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
// autoload_real_52.php generated by xrstf/composer-php52
|
|
|
|
|
2016-08-27 16:37:32 +02:00
|
|
|
class ComposerAutoloaderInit472dba0eaffdca839125d11fca021b8d {
|
2016-08-27 05:49:28 +02:00
|
|
|
private static $loader;
|
|
|
|
|
|
|
|
public static function loadClassLoader($class) {
|
|
|
|
if ('xrstf_Composer52_ClassLoader' === $class) {
|
|
|
|
require dirname(__FILE__).'/ClassLoader52.php';
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @return xrstf_Composer52_ClassLoader
|
|
|
|
*/
|
|
|
|
public static function getLoader() {
|
|
|
|
if (null !== self::$loader) {
|
|
|
|
return self::$loader;
|
|
|
|
}
|
|
|
|
|
2016-08-27 16:37:32 +02:00
|
|
|
spl_autoload_register(array('ComposerAutoloaderInit472dba0eaffdca839125d11fca021b8d', 'loadClassLoader'), true /*, true */);
|
2016-08-27 05:49:28 +02:00
|
|
|
self::$loader = $loader = new xrstf_Composer52_ClassLoader();
|
2016-08-27 16:37:32 +02:00
|
|
|
spl_autoload_unregister(array('ComposerAutoloaderInit472dba0eaffdca839125d11fca021b8d', 'loadClassLoader'));
|
2016-08-27 05:49:28 +02:00
|
|
|
|
|
|
|
$vendorDir = dirname(dirname(__FILE__));
|
|
|
|
$baseDir = dirname(dirname($vendorDir));
|
|
|
|
$dir = dirname(__FILE__);
|
|
|
|
|
|
|
|
$map = require $dir.'/autoload_namespaces.php';
|
|
|
|
foreach ($map as $namespace => $path) {
|
|
|
|
$loader->add($namespace, $path);
|
|
|
|
}
|
|
|
|
|
|
|
|
$classMap = require $dir.'/autoload_classmap.php';
|
|
|
|
if ($classMap) {
|
|
|
|
$loader->addClassMap($classMap);
|
|
|
|
}
|
|
|
|
|
|
|
|
$loader->register(true);
|
|
|
|
|
|
|
|
return $loader;
|
|
|
|
}
|
|
|
|
}
|