PluginProbe
PayPlug for WooCommerce (Official) / 3.1.0
PayPlug for WooCommerce (Official) v3.1.0
3.1.0 3.0.0 2.18.0 1.0.17 1.0.18 1.0.19 1.0.20 1.0.21 1.0.22 1.0.3 1.0.4 1.0.5 1.0.6 1.0.7 1.0.8 1.1.0 1.10.0 1.10.1 1.2.1 1.2.10 1.2.11 1.2.2 1.2.3 1.2.4 1.2.5 All 102 releases
← All changes | vendor/composer/autoload_real.php +10 -24 1.0.4 → 3.1.0 View file →
@@ -1,9 +1,9 @@
1 1 <?php
2 2
3 3 // autoload_real.php @generated by Composer
4 4
5 -class ComposerAutoloaderInit4c2de3e345f9558adca1cf920e3cb159
5 +class ComposerAutoloaderInitda8d3a697b8327877b6ddbfc65e61825
6 6 {
7 7 private static $loader;
8 8
9 9 public static function loadClassLoader($class)
@@ -12,8 +12,11 @@
12 12 require __DIR__ . '/ClassLoader.php';
13 13 }
14 14 }
15 15
16 + /**
17 + * @return \Composer\Autoload\ClassLoader
18 + */
16 19 public static function getLoader()
17 20 {
18 21 if (null !== self::$loader) {
19 22 return self::$loader;
@@ -18,33 +21,16 @@
18 21 if (null !== self::$loader) {
19 22 return self::$loader;
20 23 }
21 24
22 - spl_autoload_register(array('ComposerAutoloaderInit4c2de3e345f9558adca1cf920e3cb159', 'loadClassLoader'), true, true);
23 - self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24 - spl_autoload_unregister(array('ComposerAutoloaderInit4c2de3e345f9558adca1cf920e3cb159', 'loadClassLoader'));
25 + require __DIR__ . '/platform_check.php';
25 26
26 - $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
27 - if ($useStaticLoader) {
28 - require_once __DIR__ . '/autoload_static.php';
27 + spl_autoload_register(array('ComposerAutoloaderInitda8d3a697b8327877b6ddbfc65e61825', 'loadClassLoader'), true, true);
28 + self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
29 + spl_autoload_unregister(array('ComposerAutoloaderInitda8d3a697b8327877b6ddbfc65e61825', 'loadClassLoader'));
29 30
30 - call_user_func(\Composer\Autoload\ComposerStaticInit4c2de3e345f9558adca1cf920e3cb159::getInitializer($loader));
31 - } else {
32 - $map = require __DIR__ . '/autoload_namespaces.php';
33 - foreach ($map as $namespace => $path) {
34 - $loader->set($namespace, $path);
35 - }
36 -
37 - $map = require __DIR__ . '/autoload_psr4.php';
38 - foreach ($map as $namespace => $path) {
39 - $loader->setPsr4($namespace, $path);
40 - }
41 -
42 - $classMap = require __DIR__ . '/autoload_classmap.php';
43 - if ($classMap) {
44 - $loader->addClassMap($classMap);
45 - }
46 - }
31 + require __DIR__ . '/autoload_static.php';
32 + call_user_func(\Composer\Autoload\ComposerStaticInitda8d3a697b8327877b6ddbfc65e61825::getInitializer($loader));
47 33
48 34 $loader->register(true);
49 35
50 36 return $loader;