autoload_real.php 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. <?php
  2. // autoload_real.php @generated by Composer
  3. class ComposerAutoloaderInit78f6d8790733eb9a169055a139f374ef
  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('ComposerAutoloaderInit78f6d8790733eb9a169055a139f374ef', 'loadClassLoader'), true, true);
  22. self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
  23. spl_autoload_unregister(array('ComposerAutoloaderInit78f6d8790733eb9a169055a139f374ef', 'loadClassLoader'));
  24. require __DIR__ . '/autoload_static.php';
  25. call_user_func(\Composer\Autoload\ComposerStaticInit78f6d8790733eb9a169055a139f374ef::getInitializer($loader));
  26. $loader->register(true);
  27. $filesToLoad = \Composer\Autoload\ComposerStaticInit78f6d8790733eb9a169055a139f374ef::$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. }