laipower/wp-content/upgrade-temp-backup/plugins/jetpack-protect/vendor/composer/autoload_real.php

52 lines
1.8 KiB
PHP
Raw Normal View History

2024-01-03 21:51:19 +00:00
<?php
// autoload_real.php @generated by Composer
2024-02-08 12:31:51 +00:00
class ComposerAutoloaderInitc4802e05bbcf59fd3b6350e8d3e5482c_protectⓥ1_4_2
2024-01-03 21:51:19 +00:00
{
private static $loader;
public static function loadClassLoader($class)
{
if ('Composer\Autoload\ClassLoader' === $class) {
require __DIR__ . '/ClassLoader.php';
}
}
/**
* @return \Composer\Autoload\ClassLoader
*/
public static function getLoader()
{
if (null !== self::$loader) {
return self::$loader;
}
2024-02-08 12:31:51 +00:00
require __DIR__ . '/platform_check.php';
spl_autoload_register(array('ComposerAutoloaderInitc4802e05bbcf59fd3b6350e8d3e5482c_protectⓥ1_4_2', 'loadClassLoader'), true, true);
2024-01-03 21:51:19 +00:00
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
2024-02-08 12:31:51 +00:00
spl_autoload_unregister(array('ComposerAutoloaderInitc4802e05bbcf59fd3b6350e8d3e5482c_protectⓥ1_4_2', 'loadClassLoader'));
2024-01-03 21:51:19 +00:00
require __DIR__ . '/autoload_static.php';
2024-02-08 12:31:51 +00:00
call_user_func(\Composer\Autoload\ComposerStaticInitc4802e05bbcf59fd3b6350e8d3e5482c_protectⓥ1_4_2::getInitializer($loader));
2024-01-03 21:51:19 +00:00
2024-02-08 12:31:51 +00:00
$loader->setClassMapAuthoritative(true);
2024-01-03 21:51:19 +00:00
$loader->register(true);
2024-02-08 12:31:51 +00:00
$filesToLoad = \Composer\Autoload\ComposerStaticInitc4802e05bbcf59fd3b6350e8d3e5482c_protectⓥ1_4_2::$files;
2024-01-03 21:51:19 +00:00
$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);
}
return $loader;
}
}