| @@ -1,18 +1,19 @@ | ||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -namespace WindPressDeps; | |
| 3 | +// autoload_real.php @generated by Composer | |
| 4 | 4 | |
| 5 | -// autoload_real.php @generated by Composer | |
| 6 | -class ComposerAutoloaderInit8b716477dd00c21d9c31aeabe1824b2d | |
| 5 | +class ComposerAutoloaderInitd0c8754db623c776b87ea01aab90ad11 | |
| 7 | 6 | { |
| 8 | 7 | private static $loader; |
| 8 | + | |
| 9 | 9 | public static function loadClassLoader($class) |
| 10 | 10 | { |
| 11 | - if ('WindPressDeps\\Composer\\Autoload\\ClassLoader' === $class) { | |
| 11 | + if ('Composer\Autoload\ClassLoader' === $class) { | |
| 12 | 12 | require __DIR__ . '/ClassLoader.php'; |
| 13 | 13 | } |
| 14 | 14 | } |
| 15 | + | |
| 15 | 16 | /** |
| 16 | 17 | * @return \Composer\Autoload\ClassLoader |
| 17 | 18 | */ |
| 18 | 19 | public static function getLoader() |
| @@ -19,20 +20,26 @@ | ||
| 19 | 20 | { |
| 20 | 21 | if (null !== self::$loader) { |
| 21 | 22 | return self::$loader; |
| 22 | 23 | } |
| 24 | + | |
| 23 | 25 | require __DIR__ . '/platform_check.php'; |
| 24 | - \spl_autoload_register(array('WindPressDeps\\ComposerAutoloaderInit8b716477dd00c21d9c31aeabe1824b2d', 'loadClassLoader'), \true, \true); | |
| 25 | - self::$loader = $loader = new \WindPressDeps\Composer\Autoload\ClassLoader(\dirname(__DIR__)); | |
| 26 | - \spl_autoload_unregister(array('WindPressDeps\\ComposerAutoloaderInit8b716477dd00c21d9c31aeabe1824b2d', 'loadClassLoader')); | |
| 26 | + | |
| 27 | + spl_autoload_register(array('ComposerAutoloaderInitd0c8754db623c776b87ea01aab90ad11', 'loadClassLoader'), true, true); | |
| 28 | + self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__)); | |
| 29 | + spl_autoload_unregister(array('ComposerAutoloaderInitd0c8754db623c776b87ea01aab90ad11', 'loadClassLoader')); | |
| 30 | + | |
| 27 | 31 | require __DIR__ . '/autoload_static.php'; |
| 28 | - \call_user_func(\WindPressDeps\Composer\Autoload\ComposerStaticInit8b716477dd00c21d9c31aeabe1824b2d::getInitializer($loader)); | |
| 29 | - $loader->setClassMapAuthoritative(\true); | |
| 30 | - $loader->register(\true); | |
| 31 | - $filesToLoad = \WindPressDeps\Composer\Autoload\ComposerStaticInit8b716477dd00c21d9c31aeabe1824b2d::$files; | |
| 32 | + call_user_func(\Composer\Autoload\ComposerStaticInitd0c8754db623c776b87ea01aab90ad11::getInitializer($loader)); | |
| 33 | + | |
| 34 | + $loader->setClassMapAuthoritative(true); | |
| 35 | + $loader->register(true); | |
| 36 | + | |
| 37 | + $filesToLoad = \Composer\Autoload\ComposerStaticInitd0c8754db623c776b87ea01aab90ad11::$files; | |
| 32 | 38 | $requireFile = \Closure::bind(static function ($fileIdentifier, $file) { |
| 33 | 39 | if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) { |
| 34 | - $GLOBALS['__composer_autoload_files'][$fileIdentifier] = \true; | |
| 40 | + $GLOBALS['__composer_autoload_files'][$fileIdentifier] = true; | |
| 41 | + | |
| 35 | 42 | require $file; |
| 36 | 43 | } |
| 37 | 44 | }, null, null); |
| 38 | 45 | foreach ($filesToLoad as $fileIdentifier => $file) { |
| @@ -37,7 +44,8 @@ | ||
| 37 | 44 | }, null, null); |
| 38 | 45 | foreach ($filesToLoad as $fileIdentifier => $file) { |
| 39 | 46 | $requireFile($fileIdentifier, $file); |
| 40 | 47 | } |
| 48 | + | |
| 41 | 49 | return $loader; |
| 42 | 50 | } |
| 43 | 51 | } |