Rev 1424 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
597 | daniel-mar | 1 | <?php |
2 | |||
3 | // autoload_real.php @generated by Composer |
||
4 | |||
610 | daniel-mar | 5 | class ComposerAutoloaderInitOidPlusComposer |
597 | daniel-mar | 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 | /** |
||
17 | * @return \Composer\Autoload\ClassLoader |
||
18 | */ |
||
19 | public static function getLoader() |
||
20 | { |
||
21 | if (null !== self::$loader) { |
||
22 | return self::$loader; |
||
23 | } |
||
24 | |||
25 | require __DIR__ . '/platform_check.php'; |
||
26 | |||
610 | daniel-mar | 27 | spl_autoload_register(array('ComposerAutoloaderInitOidPlusComposer', 'loadClassLoader'), true, true); |
958 | daniel-mar | 28 | self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__)); |
610 | daniel-mar | 29 | spl_autoload_unregister(array('ComposerAutoloaderInitOidPlusComposer', 'loadClassLoader')); |
597 | daniel-mar | 30 | |
958 | daniel-mar | 31 | require __DIR__ . '/autoload_static.php'; |
32 | call_user_func(\Composer\Autoload\ComposerStaticInitOidPlusComposer::getInitializer($loader)); |
||
597 | daniel-mar | 33 | |
34 | $loader->register(true); |
||
35 | |||
1427 | daniel-mar | 36 | $filesToLoad = \Composer\Autoload\ComposerStaticInitOidPlusComposer::$files; |
37 | $requireFile = \Closure::bind(static function ($fileIdentifier, $file) { |
||
38 | if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) { |
||
39 | $GLOBALS['__composer_autoload_files'][$fileIdentifier] = true; |
||
40 | |||
41 | require $file; |
||
42 | } |
||
43 | }, null, null); |
||
44 | foreach ($filesToLoad as $fileIdentifier => $file) { |
||
45 | $requireFile($fileIdentifier, $file); |
||
597 | daniel-mar | 46 | } |
47 | |||
48 | return $loader; |
||
49 | } |
||
50 | } |