diff options
author | Nicolas LÅ“uillet <nicolas.loeuillet@gmail.com> | 2013-08-04 17:50:34 +0200 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas.loeuillet@gmail.com> | 2013-08-04 17:50:34 +0200 |
commit | 46b77928f746a4231d064774b5b67fd892c7ce86 (patch) | |
tree | e3ea690b3f0def1744ddae758923cf92171ef985 /vendor/composer/autoload_real.php | |
parent | 68abd9c71b1d2f7bb2e9d21819584d1d15005b25 (diff) | |
download | wallabag-46b77928f746a4231d064774b5b67fd892c7ce86.tar.gz wallabag-46b77928f746a4231d064774b5b67fd892c7ce86.tar.zst wallabag-46b77928f746a4231d064774b5b67fd892c7ce86.zip |
rm vendor
Diffstat (limited to 'vendor/composer/autoload_real.php')
-rw-r--r-- | vendor/composer/autoload_real.php | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/vendor/composer/autoload_real.php b/vendor/composer/autoload_real.php deleted file mode 100644 index f398fe33..00000000 --- a/vendor/composer/autoload_real.php +++ /dev/null | |||
@@ -1,47 +0,0 @@ | |||
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 | } | ||