PluginProbe
Media Cloud Sync / 1.4.2
Media Cloud Sync v1.4.2
1.4.2 1.4.1 1.4.0 1.3.12 1.3.11 1.3.10 trunk 1.0.0 1.0.1 1.0.2 1.0.3 1.1.0 1.1.1 1.2.0 1.2.10 1.2.11 1.2.12 1.2.13 1.2.2 1.2.3 1.2.4 1.2.5 1.2.6 1.2.7 1.2.8 All 36 releases
← All changes | includes/sdk/google/composer/autoload_real.php +12 -19 1.2.10 → 1.4.2 View file →
@@ -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 }