autoload_real.php 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. <?php
  2. // autoload_real.php @generated by Composer
  3. class ComposerAutoloaderInita19a915ee98347a0c787119619d2ff9b
  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. require __DIR__ . '/platform_check.php';
  21. spl_autoload_register(array('ComposerAutoloaderInita19a915ee98347a0c787119619d2ff9b', 'loadClassLoader'), true, true);
  22. self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
  23. spl_autoload_unregister(array('ComposerAutoloaderInita19a915ee98347a0c787119619d2ff9b', 'loadClassLoader'));
  24. require __DIR__ . '/autoload_static.php';
  25. call_user_func(\Composer\Autoload\ComposerStaticInita19a915ee98347a0c787119619d2ff9b::getInitializer($loader));
  26. $loader->register(true);
  27. $filesToLoad = \Composer\Autoload\ComposerStaticInita19a915ee98347a0c787119619d2ff9b::$files;
  28. $requireFile = \Closure::bind(static function ($fileIdentifier, $file) {
  29. if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
  30. $GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;
  31. require $file;
  32. }
  33. }, null, null);
  34. foreach ($filesToLoad as $fileIdentifier => $file) {
  35. $requireFile($fileIdentifier, $file);
  36. }
  37. return $loader;
  38. }
  39. }