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