TaoLer/vendor/composer/autoload_real.php

51 lines
1.6 KiB
PHP
Raw Permalink Normal View History

2020-01-01 13:17:19 +08:00
<?php
// autoload_real.php @generated by Composer
2020-05-20 11:33:27 +08:00
class ComposerAutoloaderInit1b32198725235c8d6500c87262ef30c2
2020-01-01 13:17:19 +08:00
{
private static $loader;
public static function loadClassLoader($class)
{
if ('Composer\Autoload\ClassLoader' === $class) {
require __DIR__ . '/ClassLoader.php';
}
}
2020-10-28 15:31:11 +08:00
/**
* @return \Composer\Autoload\ClassLoader
*/
2020-01-01 13:17:19 +08:00
public static function getLoader()
{
if (null !== self::$loader) {
return self::$loader;
}
2020-10-28 15:31:11 +08:00
require __DIR__ . '/platform_check.php';
2020-05-20 11:33:27 +08:00
spl_autoload_register(array('ComposerAutoloaderInit1b32198725235c8d6500c87262ef30c2', 'loadClassLoader'), true, true);
2022-08-02 21:13:36 +08:00
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
2020-05-20 11:33:27 +08:00
spl_autoload_unregister(array('ComposerAutoloaderInit1b32198725235c8d6500c87262ef30c2', 'loadClassLoader'));
2020-01-01 13:17:19 +08:00
2022-08-02 21:13:36 +08:00
require __DIR__ . '/autoload_static.php';
call_user_func(\Composer\Autoload\ComposerStaticInit1b32198725235c8d6500c87262ef30c2::getInitializer($loader));
2020-01-01 13:17:19 +08:00
$loader->register(true);
2023-07-03 12:54:48 +08:00
$filesToLoad = \Composer\Autoload\ComposerStaticInit1b32198725235c8d6500c87262ef30c2::$files;
$requireFile = \Closure::bind(static function ($fileIdentifier, $file) {
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
$GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;
require $file;
}
}, null, null);
foreach ($filesToLoad as $fileIdentifier => $file) {
$requireFile($fileIdentifier, $file);
2020-01-01 13:17:19 +08:00
}
return $loader;
}
}