xref: /dokuwiki/vendor/composer/autoload_real.php (revision 28e9760a91ee147e8ce86c6d9f964e4d04b0acaf)
1605f8e8dSAndreas Gohr<?php
2605f8e8dSAndreas Gohr
3605f8e8dSAndreas Gohr// autoload_real.php @generated by Composer
4605f8e8dSAndreas Gohr
5605f8e8dSAndreas Gohrclass ComposerAutoloaderInita19a915ee98347a0c787119619d2ff9b
6605f8e8dSAndreas Gohr{
7605f8e8dSAndreas Gohr    private static $loader;
8605f8e8dSAndreas Gohr
9605f8e8dSAndreas Gohr    public static function loadClassLoader($class)
10605f8e8dSAndreas Gohr    {
11605f8e8dSAndreas Gohr        if ('Composer\Autoload\ClassLoader' === $class) {
12605f8e8dSAndreas Gohr            require __DIR__ . '/ClassLoader.php';
13605f8e8dSAndreas Gohr        }
14605f8e8dSAndreas Gohr    }
15605f8e8dSAndreas Gohr
16ab0a8902SAndreas Gohr    /**
17ab0a8902SAndreas Gohr     * @return \Composer\Autoload\ClassLoader
18ab0a8902SAndreas Gohr     */
19605f8e8dSAndreas Gohr    public static function getLoader()
20605f8e8dSAndreas Gohr    {
21605f8e8dSAndreas Gohr        if (null !== self::$loader) {
22605f8e8dSAndreas Gohr            return self::$loader;
23605f8e8dSAndreas Gohr        }
24605f8e8dSAndreas Gohr
256cb05674SAndreas Gohr        require __DIR__ . '/platform_check.php';
266cb05674SAndreas Gohr
27605f8e8dSAndreas Gohr        spl_autoload_register(array('ComposerAutoloaderInita19a915ee98347a0c787119619d2ff9b', 'loadClassLoader'), true, true);
28d3233986SAndreas Gohr        self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
29605f8e8dSAndreas Gohr        spl_autoload_unregister(array('ComposerAutoloaderInita19a915ee98347a0c787119619d2ff9b', 'loadClassLoader'));
30605f8e8dSAndreas Gohr
316cb05674SAndreas Gohr        require __DIR__ . '/autoload_static.php';
327a33d2f8SNiklas Keller        call_user_func(\Composer\Autoload\ComposerStaticInita19a915ee98347a0c787119619d2ff9b::getInitializer($loader));
33605f8e8dSAndreas Gohr
34605f8e8dSAndreas Gohr        $loader->register(true);
35605f8e8dSAndreas Gohr
36*28e9760aSAndreas Gohr        $filesToLoad = \Composer\Autoload\ComposerStaticInita19a915ee98347a0c787119619d2ff9b::$files;
37*28e9760aSAndreas Gohr        $requireFile = \Closure::bind(static function ($fileIdentifier, $file) {
387a33d2f8SNiklas Keller            if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
397a33d2f8SNiklas Keller                $GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;
40d3233986SAndreas Gohr
41d3233986SAndreas Gohr                require $file;
427a33d2f8SNiklas Keller            }
43*28e9760aSAndreas Gohr        }, null, null);
44*28e9760aSAndreas Gohr        foreach ($filesToLoad as $fileIdentifier => $file) {
45*28e9760aSAndreas Gohr            $requireFile($fileIdentifier, $file);
46*28e9760aSAndreas Gohr        }
47*28e9760aSAndreas Gohr
48*28e9760aSAndreas Gohr        return $loader;
49*28e9760aSAndreas Gohr    }
50605f8e8dSAndreas Gohr}
51