| @@ -1,9 +1,9 @@ | ||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | 3 | // autoload_real.php @generated by Composer |
| 4 | 4 | |
| 5 | -class ComposerAutoloaderInitc0b9f59199b69f9355ab536fed34600b | |
| 5 | +class ComposerAutoloaderInit9236121e91b49149c045b0f11d2dbc13 | |
| 6 | 6 | { |
| 7 | 7 | private static $loader; |
| 8 | 8 | |
| 9 | 9 | public static function loadClassLoader($class) |
| @@ -21,53 +21,30 @@ | ||
| 21 | 21 | if (null !== self::$loader) { |
| 22 | 22 | return self::$loader; |
| 23 | 23 | } |
| 24 | 24 | |
| 25 | - spl_autoload_register(array('ComposerAutoloaderInitc0b9f59199b69f9355ab536fed34600b', 'loadClassLoader'), true, true); | |
| 26 | - self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__))); | |
| 27 | - spl_autoload_unregister(array('ComposerAutoloaderInitc0b9f59199b69f9355ab536fed34600b', 'loadClassLoader')); | |
| 25 | + require __DIR__ . '/platform_check.php'; | |
| 28 | 26 | |
| 29 | - $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded()); | |
| 30 | - if ($useStaticLoader) { | |
| 31 | - require __DIR__ . '/autoload_static.php'; | |
| 27 | + spl_autoload_register(array('ComposerAutoloaderInit9236121e91b49149c045b0f11d2dbc13', 'loadClassLoader'), true, true); | |
| 28 | + self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__)); | |
| 29 | + spl_autoload_unregister(array('ComposerAutoloaderInit9236121e91b49149c045b0f11d2dbc13', 'loadClassLoader')); | |
| 32 | 30 | |
| 33 | - call_user_func(\Composer\Autoload\ComposerStaticInitc0b9f59199b69f9355ab536fed34600b::getInitializer($loader)); | |
| 34 | - } else { | |
| 35 | - $map = require __DIR__ . '/autoload_namespaces.php'; | |
| 36 | - foreach ($map as $namespace => $path) { | |
| 37 | - $loader->set($namespace, $path); | |
| 38 | - } | |
| 31 | + require __DIR__ . '/autoload_static.php'; | |
| 32 | + call_user_func(\Composer\Autoload\ComposerStaticInit9236121e91b49149c045b0f11d2dbc13::getInitializer($loader)); | |
| 39 | 33 | |
| 40 | - $map = require __DIR__ . '/autoload_psr4.php'; | |
| 41 | - foreach ($map as $namespace => $path) { | |
| 42 | - $loader->setPsr4($namespace, $path); | |
| 43 | - } | |
| 34 | + $loader->register(true); | |
| 44 | 35 | |
| 45 | - $classMap = require __DIR__ . '/autoload_classmap.php'; | |
| 46 | - if ($classMap) { | |
| 47 | - $loader->addClassMap($classMap); | |
| 36 | + $filesToLoad = \Composer\Autoload\ComposerStaticInit9236121e91b49149c045b0f11d2dbc13::$files; | |
| 37 | + $requireFile = \Closure::bind(static function ($fileIdentifier, $file) { | |
| 38 | + if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) { | |
| 39 | + $GLOBALS['__composer_autoload_files'][$fileIdentifier] = true; | |
| 40 | + | |
| 41 | + require $file; | |
| 48 | 42 | } |
| 43 | + }, null, null); | |
| 44 | + foreach ($filesToLoad as $fileIdentifier => $file) { | |
| 45 | + $requireFile($fileIdentifier, $file); | |
| 49 | 46 | } |
| 50 | 47 | |
| 51 | - $loader->register(true); | |
| 52 | - | |
| 53 | - if ($useStaticLoader) { | |
| 54 | - $includeFiles = Composer\Autoload\ComposerStaticInitc0b9f59199b69f9355ab536fed34600b::$files; | |
| 55 | - } else { | |
| 56 | - $includeFiles = require __DIR__ . '/autoload_files.php'; | |
| 57 | - } | |
| 58 | - foreach ($includeFiles as $fileIdentifier => $file) { | |
| 59 | - composerRequirec0b9f59199b69f9355ab536fed34600b($fileIdentifier, $file); | |
| 60 | - } | |
| 61 | - | |
| 62 | 48 | return $loader; |
| 63 | - } | |
| 64 | -} | |
| 65 | - | |
| 66 | -function composerRequirec0b9f59199b69f9355ab536fed34600b($fileIdentifier, $file) | |
| 67 | -{ | |
| 68 | - if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) { | |
| 69 | - require $file; | |
| 70 | - | |
| 71 | - $GLOBALS['__composer_autoload_files'][$fileIdentifier] = true; | |
| 72 | 49 | } |
| 73 | 50 | } |