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