xref: /dokuwiki/vendor/composer/autoload_real.php (revision e0dd796db52c9730bcf77d7776c8237fcee03811)
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
16605f8e8dSAndreas Gohr    public static function getLoader()
17605f8e8dSAndreas Gohr    {
18605f8e8dSAndreas Gohr        if (null !== self::$loader) {
19605f8e8dSAndreas Gohr            return self::$loader;
20605f8e8dSAndreas Gohr        }
21605f8e8dSAndreas Gohr
22605f8e8dSAndreas Gohr        spl_autoload_register(array('ComposerAutoloaderInita19a915ee98347a0c787119619d2ff9b', 'loadClassLoader'), true, true);
23605f8e8dSAndreas Gohr        self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24605f8e8dSAndreas Gohr        spl_autoload_unregister(array('ComposerAutoloaderInita19a915ee98347a0c787119619d2ff9b', 'loadClassLoader'));
25605f8e8dSAndreas Gohr
26*e0dd796dSAndreas Gohr        $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
277a33d2f8SNiklas Keller        if ($useStaticLoader) {
287a33d2f8SNiklas Keller            require_once __DIR__ . '/autoload_static.php';
297a33d2f8SNiklas Keller
307a33d2f8SNiklas Keller            call_user_func(\Composer\Autoload\ComposerStaticInita19a915ee98347a0c787119619d2ff9b::getInitializer($loader));
317a33d2f8SNiklas Keller        } else {
32605f8e8dSAndreas Gohr            $map = require __DIR__ . '/autoload_namespaces.php';
33605f8e8dSAndreas Gohr            foreach ($map as $namespace => $path) {
34605f8e8dSAndreas Gohr                $loader->set($namespace, $path);
35605f8e8dSAndreas Gohr            }
36605f8e8dSAndreas Gohr
37605f8e8dSAndreas Gohr            $map = require __DIR__ . '/autoload_psr4.php';
38605f8e8dSAndreas Gohr            foreach ($map as $namespace => $path) {
39605f8e8dSAndreas Gohr                $loader->setPsr4($namespace, $path);
40605f8e8dSAndreas Gohr            }
41605f8e8dSAndreas Gohr
42605f8e8dSAndreas Gohr            $classMap = require __DIR__ . '/autoload_classmap.php';
43605f8e8dSAndreas Gohr            if ($classMap) {
44605f8e8dSAndreas Gohr                $loader->addClassMap($classMap);
45605f8e8dSAndreas Gohr            }
467a33d2f8SNiklas Keller        }
47605f8e8dSAndreas Gohr
48605f8e8dSAndreas Gohr        $loader->register(true);
49605f8e8dSAndreas Gohr
507a33d2f8SNiklas Keller        if ($useStaticLoader) {
517a33d2f8SNiklas Keller            $includeFiles = Composer\Autoload\ComposerStaticInita19a915ee98347a0c787119619d2ff9b::$files;
527a33d2f8SNiklas Keller        } else {
537a33d2f8SNiklas Keller            $includeFiles = require __DIR__ . '/autoload_files.php';
547a33d2f8SNiklas Keller        }
557a33d2f8SNiklas Keller        foreach ($includeFiles as $fileIdentifier => $file) {
567a33d2f8SNiklas Keller            composerRequirea19a915ee98347a0c787119619d2ff9b($fileIdentifier, $file);
577a33d2f8SNiklas Keller        }
587a33d2f8SNiklas Keller
59605f8e8dSAndreas Gohr        return $loader;
60605f8e8dSAndreas Gohr    }
61605f8e8dSAndreas Gohr}
62605f8e8dSAndreas Gohr
637a33d2f8SNiklas Kellerfunction composerRequirea19a915ee98347a0c787119619d2ff9b($fileIdentifier, $file)
64605f8e8dSAndreas Gohr{
657a33d2f8SNiklas Keller    if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
66605f8e8dSAndreas Gohr        require $file;
677a33d2f8SNiklas Keller
687a33d2f8SNiklas Keller        $GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;
697a33d2f8SNiklas Keller    }
70605f8e8dSAndreas Gohr}
71