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';
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-10-29 13:08:33 +00:00
|
|
|
/**
|
|
|
|
* @return \Composer\Autoload\ClassLoader
|
|
|
|
*/
|
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'));
|
|
|
|
|
2016-12-02 11:14:15 +00:00
|
|
|
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
|
2016-04-15 14:36:51 +00:00
|
|
|
if ($useStaticLoader) {
|
2020-04-22 15:05:37 +00:00
|
|
|
require __DIR__ . '/autoload_static.php';
|
2012-08-01 08:12:46 +00:00
|
|
|
|
2016-04-11 18:24:19 +00:00
|
|
|
call_user_func(\Composer\Autoload\ComposerStaticInitFilesAutoload::getInitializer($loader));
|
2016-04-11 10:08:27 +00:00
|
|
|
} else {
|
|
|
|
$map = require __DIR__ . '/autoload_namespaces.php';
|
|
|
|
foreach ($map as $namespace => $path) {
|
|
|
|
$loader->set($namespace, $path);
|
|
|
|
}
|
2013-11-26 01:53:44 +00:00
|
|
|
|
2016-04-11 10:08:27 +00:00
|
|
|
$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);
|
|
|
|
}
|
2012-08-01 08:12:46 +00:00
|
|
|
}
|
|
|
|
|
2013-01-08 16:34:37 +00:00
|
|
|
$loader->register(true);
|
2012-08-01 08:12:46 +00:00
|
|
|
|
2016-04-15 14:36:51 +00:00
|
|
|
if ($useStaticLoader) {
|
2016-04-11 10:08:27 +00:00
|
|
|
$includeFiles = Composer\Autoload\ComposerStaticInitFilesAutoload::$files;
|
|
|
|
} else {
|
|
|
|
$includeFiles = require __DIR__ . '/autoload_files.php';
|
|
|
|
}
|
2015-06-30 16:22:51 +00:00
|
|
|
foreach ($includeFiles as $fileIdentifier => $file) {
|
|
|
|
composerRequireFilesAutoload($fileIdentifier, $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
|
|
|
|
2015-06-30 16:22:51 +00:00
|
|
|
function composerRequireFilesAutoload($fileIdentifier, $file)
|
2014-02-06 10:53:42 +00:00
|
|
|
{
|
2015-11-21 18:30:35 +00:00
|
|
|
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
|
2015-06-27 20:54:53 +00:00
|
|
|
require $file;
|
|
|
|
|
2015-11-21 18:30:35 +00:00
|
|
|
$GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;
|
2015-06-27 20:54:53 +00:00
|
|
|
}
|
2014-02-06 10:53:42 +00:00
|
|
|
}
|