autoload_real.php 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. <?php
  2. // autoload_real.php @generated by Composer
  3. class ComposerAutoloaderInitdbe3fea4fd58b407b2163779233af172
  4. {
  5. private static $loader;
  6. public static function loadClassLoader($class)
  7. {
  8. if ('Composer\Autoload\ClassLoader' === $class) {
  9. require __DIR__ . '/ClassLoader.php';
  10. }
  11. }
  12. public static function getLoader()
  13. {
  14. if (null !== self::$loader) {
  15. return self::$loader;
  16. }
  17. spl_autoload_register(array('ComposerAutoloaderInitdbe3fea4fd58b407b2163779233af172', 'loadClassLoader'), true, true);
  18. self::$loader = $loader = new \Composer\Autoload\ClassLoader();
  19. spl_autoload_unregister(array('ComposerAutoloaderInitdbe3fea4fd58b407b2163779233af172', 'loadClassLoader'));
  20. $vendorDir = dirname(__DIR__);
  21. $baseDir = dirname($vendorDir);
  22. $map = require __DIR__ . '/autoload_namespaces.php';
  23. foreach ($map as $namespace => $path) {
  24. $loader->set($namespace, $path);
  25. }
  26. $classMap = require __DIR__ . '/autoload_classmap.php';
  27. if ($classMap) {
  28. $loader->addClassMap($classMap);
  29. }
  30. $loader->register(true);
  31. $includeFiles = require __DIR__ . '/autoload_files.php';
  32. foreach ($includeFiles as $file) {
  33. require $file;
  34. }
  35. return $loader;
  36. }
  37. }