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