PluginProbe
Packeta / 1.6.0
Packeta v1.6.0
2.3.2 2.3.1 trunk 1.2.2 1.2.3 1.2.4 1.2.5 1.2.6 1.3.0 1.3.1 1.3.2 1.4 1.4.1 1.4.2 1.4.3 1.5.0 1.5.1 1.5.2 1.5.3 1.5.4 1.6.0 1.6.1 1.6.2 1.6.3 1.6.4 All 56 releases
packeta / deps / composer / autoload_real.php

autoload_real.php in Packeta 1.6.0, at deps/composer/autoload_real.php

49 lines 1.6 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 // autoload_real.php @generated by Composer
4
5 class ComposerAutoloaderInit488189fbf5d2d48f25732110909c9f1b
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 spl_autoload_register(array('ComposerAutoloaderInit488189fbf5d2d48f25732110909c9f1b', 'loadClassLoader'), true, true);
26 self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
27 spl_autoload_unregister(array('ComposerAutoloaderInit488189fbf5d2d48f25732110909c9f1b', 'loadClassLoader'));
28
29 require __DIR__ . '/autoload_static.php';
30 call_user_func(\Composer\Autoload\ComposerStaticInit488189fbf5d2d48f25732110909c9f1b::getInitializer($loader));
31
32 $loader->register(true);
33
34 $filesToLoad = \Composer\Autoload\ComposerStaticInit488189fbf5d2d48f25732110909c9f1b::$files;
35 $requireFile = \Closure::bind(static function ($fileIdentifier, $file) {
36 if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
37 $GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;
38
39 require $file;
40 }
41 }, null, null);
42 foreach ($filesToLoad as $fileIdentifier => $file) {
43 $requireFile($fileIdentifier, $file);
44 }
45
46 return $loader;
47 }
48 }
49