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