xref: /plugin/upgrade/myvendor/composer/autoload_real.php (revision ab8e5256dbaece2751c4414d6cf7b761cb71998a)
1*ab8e5256SAndreas Gohr<?php
2*ab8e5256SAndreas Gohr
3*ab8e5256SAndreas Gohr// autoload_real.php @generated by Composer
4*ab8e5256SAndreas Gohr
5*ab8e5256SAndreas Gohrclass ComposerAutoloaderInit0fdacd54c0d93f3cc04dc55498ad4a6e
6*ab8e5256SAndreas Gohr{
7*ab8e5256SAndreas Gohr    private static $loader;
8*ab8e5256SAndreas Gohr
9*ab8e5256SAndreas Gohr    public static function loadClassLoader($class)
10*ab8e5256SAndreas Gohr    {
11*ab8e5256SAndreas Gohr        if ('Composer\Autoload\ClassLoader' === $class) {
12*ab8e5256SAndreas Gohr            require __DIR__ . '/ClassLoader.php';
13*ab8e5256SAndreas Gohr        }
14*ab8e5256SAndreas Gohr    }
15*ab8e5256SAndreas Gohr
16*ab8e5256SAndreas Gohr    /**
17*ab8e5256SAndreas Gohr     * @return \Composer\Autoload\ClassLoader
18*ab8e5256SAndreas Gohr     */
19*ab8e5256SAndreas Gohr    public static function getLoader()
20*ab8e5256SAndreas Gohr    {
21*ab8e5256SAndreas Gohr        if (null !== self::$loader) {
22*ab8e5256SAndreas Gohr            return self::$loader;
23*ab8e5256SAndreas Gohr        }
24*ab8e5256SAndreas Gohr
25*ab8e5256SAndreas Gohr        require __DIR__ . '/platform_check.php';
26*ab8e5256SAndreas Gohr
27*ab8e5256SAndreas Gohr        spl_autoload_register(array('ComposerAutoloaderInit0fdacd54c0d93f3cc04dc55498ad4a6e', 'loadClassLoader'), true, true);
28*ab8e5256SAndreas Gohr        self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
29*ab8e5256SAndreas Gohr        spl_autoload_unregister(array('ComposerAutoloaderInit0fdacd54c0d93f3cc04dc55498ad4a6e', 'loadClassLoader'));
30*ab8e5256SAndreas Gohr
31*ab8e5256SAndreas Gohr        require __DIR__ . '/autoload_static.php';
32*ab8e5256SAndreas Gohr        call_user_func(\Composer\Autoload\ComposerStaticInit0fdacd54c0d93f3cc04dc55498ad4a6e::getInitializer($loader));
33*ab8e5256SAndreas Gohr
34*ab8e5256SAndreas Gohr        $loader->register(true);
35*ab8e5256SAndreas Gohr
36*ab8e5256SAndreas Gohr        return $loader;
37*ab8e5256SAndreas Gohr    }
38*ab8e5256SAndreas Gohr}
39