TYPO3  7.6
autoload_real.php
Go to the documentation of this file.
1 <?php
2 
3 // autoload_real.php @generated by Composer
4 
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('ComposerAutoloaderInit3cb527ee4d6e7d0d79f4bdd3a85899fc', 'loadClassLoader'), true, true);
23  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24  spl_autoload_unregister(array('ComposerAutoloaderInit3cb527ee4d6e7d0d79f4bdd3a85899fc', 'loadClassLoader'));
25 
26  $includePaths = require __DIR__ . '/include_paths.php';
27  array_push($includePaths, get_include_path());
28  set_include_path(join(PATH_SEPARATOR, $includePaths));
29 
30  $map = require __DIR__ . '/autoload_namespaces.php';
31  foreach ($map as $namespace => $path) {
32  $loader->set($namespace, $path);
33  }
34 
35  $map = require __DIR__ . '/autoload_psr4.php';
36  foreach ($map as $namespace => $path) {
37  $loader->setPsr4($namespace, $path);
38  }
39 
40  $classMap = require __DIR__ . '/autoload_classmap.php';
41  if ($classMap) {
42  $loader->addClassMap($classMap);
43  }
44 
45  $loader->register(true);
46 
47  $includeFiles = require __DIR__ . '/autoload_files.php';
48  foreach ($includeFiles as $file) {
50  }
51 
52  return $loader;
53  }
54 }
55 
57 {
58  require $file;
59 }