autoload_real.php 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. <?php
  2. // autoload_real.php @generated by Composer
  3. class ComposerAutoloaderInit650c20b5a7047c9a8273339d87fa9b86
  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('ComposerAutoloaderInit650c20b5a7047c9a8273339d87fa9b86', 'loadClassLoader'), true, true);
  18. self::$loader = $loader = new \Composer\Autoload\ClassLoader();
  19. spl_autoload_unregister(array('ComposerAutoloaderInit650c20b5a7047c9a8273339d87fa9b86', 'loadClassLoader'));
  20. $map = require __DIR__ . '/autoload_namespaces.php';
  21. foreach ($map as $namespace => $path) {
  22. $loader->set($namespace, $path);
  23. }
  24. $map = require __DIR__ . '/autoload_psr4.php';
  25. foreach ($map as $namespace => $path) {
  26. $loader->setPsr4($namespace, $path);
  27. }
  28. $classMap = require __DIR__ . '/autoload_classmap.php';
  29. if ($classMap) {
  30. $loader->addClassMap($classMap);
  31. }
  32. $loader->register(true);
  33. $includeFiles = require __DIR__ . '/autoload_files.php';
  34. foreach ($includeFiles as $fileIdentifier => $file) {
  35. composerRequire650c20b5a7047c9a8273339d87fa9b86($fileIdentifier, $file);
  36. }
  37. return $loader;
  38. }
  39. }
  40. function composerRequire650c20b5a7047c9a8273339d87fa9b86($fileIdentifier, $file)
  41. {
  42. if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
  43. require $file;
  44. $GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;
  45. }
  46. }