0
|
1 <?php
|
|
2
|
|
3 // autoload_real.php @generated by Composer
|
|
4
|
|
5 class ComposerAutoloaderInitd52cd7aa2b1301e6e89413f57235d2fc
|
|
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('ComposerAutoloaderInitd52cd7aa2b1301e6e89413f57235d2fc', 'loadClassLoader'), true, true);
|
|
23 self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
|
24 spl_autoload_unregister(array('ComposerAutoloaderInitd52cd7aa2b1301e6e89413f57235d2fc', 'loadClassLoader'));
|
|
25
|
|
26 $includePaths = require __DIR__ . '/include_paths.php';
|
|
27 array_push($includePaths, get_include_path());
|
|
28 set_include_path(implode(PATH_SEPARATOR, $includePaths));
|
|
29
|
|
30 $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
|
|
31 if ($useStaticLoader) {
|
|
32 require_once __DIR__ . '/autoload_static.php';
|
|
33
|
|
34 call_user_func(\Composer\Autoload\ComposerStaticInitd52cd7aa2b1301e6e89413f57235d2fc::getInitializer($loader));
|
|
35 } else {
|
|
36 $map = require __DIR__ . '/autoload_namespaces.php';
|
|
37 foreach ($map as $namespace => $path) {
|
|
38 $loader->set($namespace, $path);
|
|
39 }
|
|
40
|
|
41 $map = require __DIR__ . '/autoload_psr4.php';
|
|
42 foreach ($map as $namespace => $path) {
|
|
43 $loader->setPsr4($namespace, $path);
|
|
44 }
|
|
45
|
|
46 $classMap = require __DIR__ . '/autoload_classmap.php';
|
|
47 if ($classMap) {
|
|
48 $loader->addClassMap($classMap);
|
|
49 }
|
|
50 }
|
|
51
|
|
52 $loader->register(true);
|
|
53
|
35
|
54 if ($useStaticLoader) {
|
|
55 $includeFiles = Composer\Autoload\ComposerStaticInitd52cd7aa2b1301e6e89413f57235d2fc::$files;
|
|
56 } else {
|
|
57 $includeFiles = require __DIR__ . '/autoload_files.php';
|
|
58 }
|
|
59 foreach ($includeFiles as $fileIdentifier => $file) {
|
|
60 composerRequired52cd7aa2b1301e6e89413f57235d2fc($fileIdentifier, $file);
|
|
61 }
|
|
62
|
0
|
63 return $loader;
|
|
64 }
|
|
65 }
|
35
|
66
|
|
67 function composerRequired52cd7aa2b1301e6e89413f57235d2fc($fileIdentifier, $file)
|
|
68 {
|
|
69 if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
|
|
70 require $file;
|
|
71
|
|
72 $GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;
|
|
73 }
|
|
74 }
|