autoload_real.php 2.4KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. <?php
  2. // autoload_real.php @generated by Composer
  3. class ComposerAutoloaderInit0d8b0a92dafecf92d0de365a6e6ae7b9
  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('ComposerAutoloaderInit0d8b0a92dafecf92d0de365a6e6ae7b9', 'loadClassLoader'), true, true);
  18. self::$loader = $loader = new \Composer\Autoload\ClassLoader();
  19. spl_autoload_unregister(array('ComposerAutoloaderInit0d8b0a92dafecf92d0de365a6e6ae7b9', '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\ComposerStaticInit0d8b0a92dafecf92d0de365a6e6ae7b9::getInitializer($loader));
  24. } else {
  25. $map = require __DIR__ . '/autoload_namespaces.php';
  26. foreach ($map as $namespace => $path) {
  27. $loader->set($namespace, $path);
  28. }
  29. $map = require __DIR__ . '/autoload_psr4.php';
  30. foreach ($map as $namespace => $path) {
  31. $loader->setPsr4($namespace, $path);
  32. }
  33. $classMap = require __DIR__ . '/autoload_classmap.php';
  34. if ($classMap) {
  35. $loader->addClassMap($classMap);
  36. }
  37. }
  38. $loader->register(true);
  39. if ($useStaticLoader) {
  40. $includeFiles = Composer\Autoload\ComposerStaticInit0d8b0a92dafecf92d0de365a6e6ae7b9::$files;
  41. } else {
  42. $includeFiles = require __DIR__ . '/autoload_files.php';
  43. }
  44. foreach ($includeFiles as $fileIdentifier => $file) {
  45. composerRequire0d8b0a92dafecf92d0de365a6e6ae7b9($fileIdentifier, $file);
  46. }
  47. return $loader;
  48. }
  49. }
  50. function composerRequire0d8b0a92dafecf92d0de365a6e6ae7b9($fileIdentifier, $file)
  51. {
  52. if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
  53. require $file;
  54. $GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;
  55. }
  56. }