autoload_real.php 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. <?php
  2. // autoload_real.php @generated by Composer
  3. class ComposerAutoloaderInita70fb710de15783e15ac5c54a42d7db9
  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. /**
  13. * @return \Composer\Autoload\ClassLoader
  14. */
  15. public static function getLoader()
  16. {
  17. if (null !== self::$loader) {
  18. return self::$loader;
  19. }
  20. spl_autoload_register(array('ComposerAutoloaderInita70fb710de15783e15ac5c54a42d7db9', 'loadClassLoader'), true, true);
  21. self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
  22. spl_autoload_unregister(array('ComposerAutoloaderInita70fb710de15783e15ac5c54a42d7db9', 'loadClassLoader'));
  23. require __DIR__ . '/autoload_static.php';
  24. call_user_func(\Composer\Autoload\ComposerStaticInita70fb710de15783e15ac5c54a42d7db9::getInitializer($loader));
  25. $loader->register(true);
  26. $filesToLoad = \Composer\Autoload\ComposerStaticInita70fb710de15783e15ac5c54a42d7db9::$files;
  27. $requireFile = static function ($fileIdentifier, $file) {
  28. if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
  29. $GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;
  30. require $file;
  31. }
  32. };
  33. foreach ($filesToLoad as $fileIdentifier => $file) {
  34. ($requireFile)($fileIdentifier, $file);
  35. }
  36. return $loader;
  37. }
  38. }