]> git.immae.eu Git - github/wallabag/wallabag.git/blob - vendor/composer/autoload_real.php
gitignore vendor
[github/wallabag/wallabag.git] / vendor / composer / autoload_real.php
1 <?php
2
3 // autoload_real.php generated by Composer
4
5 class ComposerAutoloaderInit1c7743925d207055d2ad189b1f10a029
6 {
7 private static $loader;
8
9 public static function loadClassLoader($class)
10 {
11 if ('Composer\Autoload\ClassLoader' === $class) {
12 require __DIR__ . '/ClassLoader.php';
13 }
14 }
15
16 public static function getLoader()
17 {
18 if (null !== self::$loader) {
19 return self::$loader;
20 }
21
22 spl_autoload_register(array('ComposerAutoloaderInit1c7743925d207055d2ad189b1f10a029', 'loadClassLoader'), true, true);
23 self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24 spl_autoload_unregister(array('ComposerAutoloaderInit1c7743925d207055d2ad189b1f10a029', 'loadClassLoader'));
25
26 $vendorDir = dirname(__DIR__);
27 $baseDir = dirname($vendorDir);
28
29 $map = require __DIR__ . '/autoload_namespaces.php';
30 foreach ($map as $namespace => $path) {
31 $loader->set($namespace, $path);
32 }
33
34 $classMap = require __DIR__ . '/autoload_classmap.php';
35 if ($classMap) {
36 $loader->addClassMap($classMap);
37 }
38
39 $loader->register(true);
40
41 foreach (require __DIR__ . '/autoload_files.php' as $file) {
42 require $file;
43 }
44
45 return $loader;
46 }
47 }