PluginProbe
Code Snippets / 3.10.2
Code Snippets v3.10.2
4.0.0-beta.2 3.10.2 3.10.1 3.10.0 3.10.0-beta.2 3.10.0-beta.1 4.0.0-beta.1 3.9.6 trunk 2.10.0 2.10.1 2.12.0 2.12.1 2.13.0 2.13.1 2.13.2 2.13.3 2.14.0 2.14.1 2.14.2 2.14.3 2.14.4 2.14.5 2.14.6 3.0.0 All 65 releases
code-snippets / vendor / composer / autoload_real.php

autoload_real.php in Code Snippets 3.10.2, at vendor/composer/autoload_real.php

51 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 ComposerAutoloaderInit118984772f6b448937a6130f407c8a8b
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
27 spl_autoload_register(array('ComposerAutoloaderInit118984772f6b448937a6130f407c8a8b', 'loadClassLoader'), true, true);
28 self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
29 spl_autoload_unregister(array('ComposerAutoloaderInit118984772f6b448937a6130f407c8a8b', 'loadClassLoader'));
30
31 require __DIR__ . '/autoload_static.php';
32 call_user_func(\Composer\Autoload\ComposerStaticInit118984772f6b448937a6130f407c8a8b::getInitializer($loader));
33
34 $loader->register(true);
35
36 $filesToLoad = \Composer\Autoload\ComposerStaticInit118984772f6b448937a6130f407c8a8b::$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);
46 }
47
48 return $loader;
49 }
50 }
51