xref: /dokuwiki/vendor/composer/autoload_real.php (revision 605f8e8d0e501057749c50581087ce05089c1af3)
1*605f8e8dSAndreas Gohr<?php
2*605f8e8dSAndreas Gohr
3*605f8e8dSAndreas Gohr// autoload_real.php @generated by Composer
4*605f8e8dSAndreas Gohr
5*605f8e8dSAndreas Gohrclass ComposerAutoloaderInita19a915ee98347a0c787119619d2ff9b
6*605f8e8dSAndreas Gohr{
7*605f8e8dSAndreas Gohr    private static $loader;
8*605f8e8dSAndreas Gohr
9*605f8e8dSAndreas Gohr    public static function loadClassLoader($class)
10*605f8e8dSAndreas Gohr    {
11*605f8e8dSAndreas Gohr        if ('Composer\Autoload\ClassLoader' === $class) {
12*605f8e8dSAndreas Gohr            require __DIR__ . '/ClassLoader.php';
13*605f8e8dSAndreas Gohr        }
14*605f8e8dSAndreas Gohr    }
15*605f8e8dSAndreas Gohr
16*605f8e8dSAndreas Gohr    public static function getLoader()
17*605f8e8dSAndreas Gohr    {
18*605f8e8dSAndreas Gohr        if (null !== self::$loader) {
19*605f8e8dSAndreas Gohr            return self::$loader;
20*605f8e8dSAndreas Gohr        }
21*605f8e8dSAndreas Gohr
22*605f8e8dSAndreas Gohr        spl_autoload_register(array('ComposerAutoloaderInita19a915ee98347a0c787119619d2ff9b', 'loadClassLoader'), true, true);
23*605f8e8dSAndreas Gohr        self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24*605f8e8dSAndreas Gohr        spl_autoload_unregister(array('ComposerAutoloaderInita19a915ee98347a0c787119619d2ff9b', 'loadClassLoader'));
25*605f8e8dSAndreas Gohr
26*605f8e8dSAndreas Gohr        $map = require __DIR__ . '/autoload_namespaces.php';
27*605f8e8dSAndreas Gohr        foreach ($map as $namespace => $path) {
28*605f8e8dSAndreas Gohr            $loader->set($namespace, $path);
29*605f8e8dSAndreas Gohr        }
30*605f8e8dSAndreas Gohr
31*605f8e8dSAndreas Gohr        $map = require __DIR__ . '/autoload_psr4.php';
32*605f8e8dSAndreas Gohr        foreach ($map as $namespace => $path) {
33*605f8e8dSAndreas Gohr            $loader->setPsr4($namespace, $path);
34*605f8e8dSAndreas Gohr        }
35*605f8e8dSAndreas Gohr
36*605f8e8dSAndreas Gohr        $classMap = require __DIR__ . '/autoload_classmap.php';
37*605f8e8dSAndreas Gohr        if ($classMap) {
38*605f8e8dSAndreas Gohr            $loader->addClassMap($classMap);
39*605f8e8dSAndreas Gohr        }
40*605f8e8dSAndreas Gohr
41*605f8e8dSAndreas Gohr        $loader->register(true);
42*605f8e8dSAndreas Gohr
43*605f8e8dSAndreas Gohr        return $loader;
44*605f8e8dSAndreas Gohr    }
45*605f8e8dSAndreas Gohr}
46*605f8e8dSAndreas Gohr
47*605f8e8dSAndreas Gohrfunction composerRequirea19a915ee98347a0c787119619d2ff9b($file)
48*605f8e8dSAndreas Gohr{
49*605f8e8dSAndreas Gohr    require $file;
50*605f8e8dSAndreas Gohr}
51