autoload_real.php 1.6 KB

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