| @@ -1,9 +1,9 @@ | ||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | 3 | // autoload_real.php @generated by Composer |
| 4 | 4 | |
| 5 | -class ComposerAutoloaderInite6b2c0543b474221a562bf00bdba0569 | |
| 5 | +class ComposerAutoloaderInit568905d56b9550ce6d51b8c60685e6f0 | |
| 6 | 6 | { |
| 7 | 7 | private static $loader; |
| 8 | 8 | |
| 9 | 9 | public static function loadClassLoader($class) |
| @@ -12,8 +12,11 @@ | ||
| 12 | 12 | require __DIR__ . '/ClassLoader.php'; |
| 13 | 13 | } |
| 14 | 14 | } |
| 15 | 15 | |
| 16 | + /** | |
| 17 | + * @return \Composer\Autoload\ClassLoader | |
| 18 | + */ | |
| 16 | 19 | public static function getLoader() |
| 17 | 20 | { |
| 18 | 21 | if (null !== self::$loader) { |
| 19 | 22 | return self::$loader; |
| @@ -18,32 +21,45 @@ | ||
| 18 | 21 | if (null !== self::$loader) { |
| 19 | 22 | return self::$loader; |
| 20 | 23 | } |
| 21 | 24 | |
| 22 | - spl_autoload_register(array('ComposerAutoloaderInite6b2c0543b474221a562bf00bdba0569', 'loadClassLoader'), true, true); | |
| 23 | - self::$loader = $loader = new \Composer\Autoload\ClassLoader(); | |
| 24 | - spl_autoload_unregister(array('ComposerAutoloaderInite6b2c0543b474221a562bf00bdba0569', 'loadClassLoader')); | |
| 25 | + require __DIR__ . '/platform_check.php'; | |
| 25 | 26 | |
| 26 | - $map = require __DIR__ . '/autoload_namespaces.php'; | |
| 27 | - foreach ($map as $namespace => $path) { | |
| 28 | - $loader->set($namespace, $path); | |
| 29 | - } | |
| 27 | + spl_autoload_register(array('ComposerAutoloaderInit568905d56b9550ce6d51b8c60685e6f0', 'loadClassLoader'), true, true); | |
| 28 | + self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__))); | |
| 29 | + spl_autoload_unregister(array('ComposerAutoloaderInit568905d56b9550ce6d51b8c60685e6f0', 'loadClassLoader')); | |
| 30 | 30 | |
| 31 | - $map = require __DIR__ . '/autoload_psr4.php'; | |
| 32 | - foreach ($map as $namespace => $path) { | |
| 33 | - $loader->setPsr4($namespace, $path); | |
| 34 | - } | |
| 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'; | |
| 35 | 34 | |
| 36 | - $classMap = require __DIR__ . '/autoload_classmap.php'; | |
| 37 | - if ($classMap) { | |
| 38 | - $loader->addClassMap($classMap); | |
| 35 | + call_user_func(\Composer\Autoload\ComposerStaticInit568905d56b9550ce6d51b8c60685e6f0::getInitializer($loader)); | |
| 36 | + } else { | |
| 37 | + $map = require __DIR__ . '/autoload_namespaces.php'; | |
| 38 | + foreach ($map as $namespace => $path) { | |
| 39 | + $loader->set($namespace, $path); | |
| 40 | + } | |
| 41 | + | |
| 42 | + $map = require __DIR__ . '/autoload_psr4.php'; | |
| 43 | + foreach ($map as $namespace => $path) { | |
| 44 | + $loader->setPsr4($namespace, $path); | |
| 45 | + } | |
| 46 | + | |
| 47 | + $classMap = require __DIR__ . '/autoload_classmap.php'; | |
| 48 | + if ($classMap) { | |
| 49 | + $loader->addClassMap($classMap); | |
| 50 | + } | |
| 39 | 51 | } |
| 40 | 52 | |
| 41 | 53 | $loader->register(true); |
| 42 | 54 | |
| 43 | - $includeFiles = require __DIR__ . '/autoload_files.php'; | |
| 55 | + if ($useStaticLoader) { | |
| 56 | + $includeFiles = Composer\Autoload\ComposerStaticInit568905d56b9550ce6d51b8c60685e6f0::$files; | |
| 57 | + } else { | |
| 58 | + $includeFiles = require __DIR__ . '/autoload_files.php'; | |
| 59 | + } | |
| 44 | 60 | foreach ($includeFiles as $fileIdentifier => $file) { |
| 45 | - composerRequiree6b2c0543b474221a562bf00bdba0569($fileIdentifier, $file); | |
| 61 | + composerRequire568905d56b9550ce6d51b8c60685e6f0($fileIdentifier, $file); | |
| 46 | 62 | } |
| 47 | 63 | |
| 48 | 64 | return $loader; |
| 49 | 65 | } |
| @@ -48,12 +64,17 @@ | ||
| 48 | 64 | return $loader; |
| 49 | 65 | } |
| 50 | 66 | } |
| 51 | 67 | |
| 52 | -function composerRequiree6b2c0543b474221a562bf00bdba0569($fileIdentifier, $file) | |
| 68 | +/** | |
| 69 | + * @param string $fileIdentifier | |
| 70 | + * @param string $file | |
| 71 | + * @return void | |
| 72 | + */ | |
| 73 | +function composerRequire568905d56b9550ce6d51b8c60685e6f0($fileIdentifier, $file) | |
| 53 | 74 | { |
| 54 | 75 | if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) { |
| 76 | + $GLOBALS['__composer_autoload_files'][$fileIdentifier] = true; | |
| 77 | + | |
| 55 | 78 | require $file; |
| 56 | - | |
| 57 | - $GLOBALS['__composer_autoload_files'][$fileIdentifier] = true; | |
| 58 | 79 | } |
| 59 | 80 | } |