| 1: | <?php
|
| 2: |
|
| 3: |
|
| 4: |
|
| 5: | class ComposerAutoloaderInit6352cb8ef79af2c7649e83bf921c4678
|
| 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: | |
| 18: |
|
| 19: | public static function getLoader()
|
| 20: | {
|
| 21: | if (null !== self::$loader) {
|
| 22: | return self::$loader;
|
| 23: | }
|
| 24: |
|
| 25: | require __DIR__ . '/platform_check.php';
|
| 26: |
|
| 27: | spl_autoload_register(array('ComposerAutoloaderInit6352cb8ef79af2c7649e83bf921c4678', 'loadClassLoader'), true, true);
|
| 28: | self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
|
| 29: | spl_autoload_unregister(array('ComposerAutoloaderInit6352cb8ef79af2c7649e83bf921c4678', 'loadClassLoader'));
|
| 30: |
|
| 31: | require __DIR__ . '/autoload_static.php';
|
| 32: | call_user_func(\Composer\Autoload\ComposerStaticInit6352cb8ef79af2c7649e83bf921c4678::getInitializer($loader));
|
| 33: |
|
| 34: | $loader->setClassMapAuthoritative(true);
|
| 35: | $loader->register(true);
|
| 36: |
|
| 37: | $filesToLoad = \Composer\Autoload\ComposerStaticInit6352cb8ef79af2c7649e83bf921c4678::$files;
|
| 38: | $requireFile = \Closure::bind(static function ($fileIdentifier, $file) {
|
| 39: | if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
|
| 40: | $GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;
|
| 41: |
|
| 42: | require $file;
|
| 43: | }
|
| 44: | }, null, null);
|
| 45: | foreach ($filesToLoad as $fileIdentifier => $file) {
|
| 46: | $requireFile($fileIdentifier, $file);
|
| 47: | }
|
| 48: |
|
| 49: | return $loader;
|
| 50: | }
|
| 51: | }
|
| 52: | |