| @@ -1,21 +1,21 @@ | ||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | 3 | // autoload_real.php @generated by Composer |
| 4 | 4 | |
| 5 | -class ComposerAutoloaderInit27c2f21fb0be1f8c2ef63f80977ab942 | |
| 5 | +class ComposerAutoloaderInit4af24f075f04070cee0c219e76a46574 | |
| 6 | 6 | { |
| 7 | 7 | private static $loader; |
| 8 | 8 | |
| 9 | 9 | public static function loadClassLoader($class) |
| 10 | 10 | { |
| 11 | - if ('Composer\AutoloadWPMediaImagifyWordPressPlugin\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\AutoloadWPMediaImagifyWordPressPlugin\ClassLoader | |
| 17 | + * @return \Composer\Autoload\ClassLoader | |
| 18 | 18 | */ |
| 19 | 19 | public static function getLoader() |
| 20 | 20 | { |
| 21 | 21 | if (null !== self::$loader) { |
| @@ -21,35 +21,30 @@ | ||
| 21 | 21 | if (null !== self::$loader) { |
| 22 | 22 | return self::$loader; |
| 23 | 23 | } |
| 24 | 24 | |
| 25 | - spl_autoload_register(array('ComposerAutoloaderInit27c2f21fb0be1f8c2ef63f80977ab942', 'loadClassLoader'), true, true); | |
| 26 | - self::$loader = $loader = new \Composer\AutoloadWPMediaImagifyWordPressPlugin\ClassLoader(); | |
| 27 | - spl_autoload_unregister(array('ComposerAutoloaderInit27c2f21fb0be1f8c2ef63f80977ab942', 'loadClassLoader')); | |
| 25 | + require __DIR__ . '/platform_check.php'; | |
| 28 | 26 | |
| 29 | - $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded()); | |
| 30 | - if ($useStaticLoader) { | |
| 31 | - require_once __DIR__ . '/autoload_static.php'; | |
| 27 | + spl_autoload_register(array('ComposerAutoloaderInit4af24f075f04070cee0c219e76a46574', 'loadClassLoader'), true, true); | |
| 28 | + self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__)); | |
| 29 | + spl_autoload_unregister(array('ComposerAutoloaderInit4af24f075f04070cee0c219e76a46574', 'loadClassLoader')); | |
| 32 | 30 | |
| 33 | - call_user_func(\Composer\Autoload\ComposerStaticInit27c2f21fb0be1f8c2ef63f80977ab942::getInitializer($loader)); | |
| 34 | - } else { | |
| 35 | - $map = require __DIR__ . '/autoload_namespaces.php'; | |
| 36 | - foreach ($map as $namespace => $path) { | |
| 37 | - $loader->set($namespace, $path); | |
| 38 | - } | |
| 31 | + require __DIR__ . '/autoload_static.php'; | |
| 32 | + call_user_func(\Composer\Autoload\ComposerStaticInit4af24f075f04070cee0c219e76a46574::getInitializer($loader)); | |
| 39 | 33 | |
| 40 | - $map = require __DIR__ . '/autoload_psr4.php'; | |
| 41 | - foreach ($map as $namespace => $path) { | |
| 42 | - $loader->setPsr4($namespace, $path); | |
| 43 | - } | |
| 34 | + $loader->register(true); | |
| 44 | 35 | |
| 45 | - $classMap = require __DIR__ . '/autoload_classmap.php'; | |
| 46 | - if ($classMap) { | |
| 47 | - $loader->addClassMap($classMap); | |
| 36 | + $filesToLoad = \Composer\Autoload\ComposerStaticInit4af24f075f04070cee0c219e76a46574::$files; | |
| 37 | + $requireFile = \Closure::bind(static function ($fileIdentifier, $file) { | |
| 38 | + if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) { | |
| 39 | + $GLOBALS['__composer_autoload_files'][$fileIdentifier] = true; | |
| 40 | + | |
| 41 | + require $file; | |
| 48 | 42 | } |
| 43 | + }, null, null); | |
| 44 | + foreach ($filesToLoad as $fileIdentifier => $file) { | |
| 45 | + $requireFile($fileIdentifier, $file); | |
| 49 | 46 | } |
| 50 | - | |
| 51 | - $loader->register(true); | |
| 52 | 47 | |
| 53 | 48 | return $loader; |
| 54 | 49 | } |
| 55 | 50 | } |