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