autoload_real.php 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <?php
  2. // autoload_real.php @generated by Composer
  3. class ComposerAutoloaderInit98fe9b281934250b3a93f69a5ce843b3
  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('ComposerAutoloaderInit98fe9b281934250b3a93f69a5ce843b3', 'loadClassLoader'), true, true);
  18. self::$loader = $loader = new \Composer\Autoload\ClassLoader();
  19. spl_autoload_unregister(array('ComposerAutoloaderInit98fe9b281934250b3a93f69a5ce843b3', 'loadClassLoader'));
  20. $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
  21. if ($useStaticLoader) {
  22. require_once __DIR__ . '/autoload_static.php';
  23. call_user_func(\Composer\Autoload\ComposerStaticInit98fe9b281934250b3a93f69a5ce843b3::getInitializer($loader));
  24. } else {
  25. $classMap = require __DIR__ . '/autoload_classmap.php';
  26. if ($classMap) {
  27. $loader->addClassMap($classMap);
  28. }
  29. }
  30. $loader->setClassMapAuthoritative(true);
  31. $loader->register(true);
  32. return $loader;
  33. }
  34. }