2017-01-06 13:51:12 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
// autoload_real.php @generated by Composer
|
|
|
|
|
|
|
|
class ComposerAutoloaderInit90ad93c7251d4f60daa9e545879c49e7
|
|
|
|
{
|
|
|
|
private static $loader;
|
|
|
|
|
|
|
|
public static function loadClassLoader($class)
|
|
|
|
{
|
|
|
|
if ('Composer\Autoload\ClassLoader' === $class) {
|
|
|
|
require __DIR__ . '/ClassLoader.php';
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-01-16 10:58:51 +00:00
|
|
|
/**
|
|
|
|
* @return \Composer\Autoload\ClassLoader
|
|
|
|
*/
|
2017-01-06 13:51:12 +00:00
|
|
|
public static function getLoader()
|
|
|
|
{
|
|
|
|
if (null !== self::$loader) {
|
|
|
|
return self::$loader;
|
|
|
|
}
|
|
|
|
|
2021-01-16 10:58:51 +00:00
|
|
|
require __DIR__ . '/platform_check.php';
|
|
|
|
|
2017-01-06 13:51:12 +00:00
|
|
|
spl_autoload_register(array('ComposerAutoloaderInit90ad93c7251d4f60daa9e545879c49e7', 'loadClassLoader'), true, true);
|
2022-01-08 13:45:23 +00:00
|
|
|
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__)));
|
2017-01-06 13:51:12 +00:00
|
|
|
spl_autoload_unregister(array('ComposerAutoloaderInit90ad93c7251d4f60daa9e545879c49e7', 'loadClassLoader'));
|
|
|
|
|
|
|
|
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
|
|
|
|
if ($useStaticLoader) {
|
2021-01-16 10:58:51 +00:00
|
|
|
require __DIR__ . '/autoload_static.php';
|
2017-01-06 13:51:12 +00:00
|
|
|
|
|
|
|
call_user_func(\Composer\Autoload\ComposerStaticInit90ad93c7251d4f60daa9e545879c49e7::getInitializer($loader));
|
|
|
|
} else {
|
|
|
|
$map = require __DIR__ . '/autoload_namespaces.php';
|
|
|
|
foreach ($map as $namespace => $path) {
|
|
|
|
$loader->set($namespace, $path);
|
|
|
|
}
|
|
|
|
|
|
|
|
$map = require __DIR__ . '/autoload_psr4.php';
|
|
|
|
foreach ($map as $namespace => $path) {
|
|
|
|
$loader->setPsr4($namespace, $path);
|
|
|
|
}
|
|
|
|
|
|
|
|
$classMap = require __DIR__ . '/autoload_classmap.php';
|
|
|
|
if ($classMap) {
|
|
|
|
$loader->addClassMap($classMap);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
$loader->register(true);
|
|
|
|
|
|
|
|
return $loader;
|
|
|
|
}
|
|
|
|
}
|