ca-bundle
1 year ago
semver
3 years ago
ClassLoader.php
2 years ago
InstalledVersions.php
3 years ago
LICENSE
6 years ago
autoload_classmap.php
1 year ago
autoload_files.php
1 year ago
autoload_namespaces.php
2 years ago
autoload_psr4.php
1 year ago
autoload_real.php
1 year ago
autoload_static.php
1 year ago
include_paths.php
2 years ago
installed.php
1 year ago
autoload_real.php
53 lines
| 1 | <?php |
| 2 | |
| 3 | // autoload_real.php @generated by Composer |
| 4 | |
| 5 | class ComposerAutoloaderInit48a6fdae53f1ce9d920dd673ae5eb2d1 |
| 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('ComposerAutoloaderInit48a6fdae53f1ce9d920dd673ae5eb2d1', 'loadClassLoader'), true, false); |
| 26 | self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__)); |
| 27 | spl_autoload_unregister(array('ComposerAutoloaderInit48a6fdae53f1ce9d920dd673ae5eb2d1', 'loadClassLoader')); |
| 28 | |
| 29 | $includePaths = require __DIR__ . '/include_paths.php'; |
| 30 | $includePaths[] = get_include_path(); |
| 31 | set_include_path(implode(PATH_SEPARATOR, $includePaths)); |
| 32 | |
| 33 | require __DIR__ . '/autoload_static.php'; |
| 34 | call_user_func(\Composer\Autoload\ComposerStaticInit48a6fdae53f1ce9d920dd673ae5eb2d1::getInitializer($loader)); |
| 35 | |
| 36 | $loader->register(false); |
| 37 | |
| 38 | $filesToLoad = \Composer\Autoload\ComposerStaticInit48a6fdae53f1ce9d920dd673ae5eb2d1::$files; |
| 39 | $requireFile = \Closure::bind(static function ($fileIdentifier, $file) { |
| 40 | if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) { |
| 41 | $GLOBALS['__composer_autoload_files'][$fileIdentifier] = true; |
| 42 | |
| 43 | require $file; |
| 44 | } |
| 45 | }, null, null); |
| 46 | foreach ($filesToLoad as $fileIdentifier => $file) { |
| 47 | $requireFile($fileIdentifier, $file); |
| 48 | } |
| 49 | |
| 50 | return $loader; |
| 51 | } |
| 52 | } |
| 53 |