No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

autoload_real.php 2.6KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. <?php
  2. // autoload_real.php @generated by Composer
  3. class ComposerAutoloaderInit8a4dd00e82d2b6f6af6b74f1633a86b8
  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('ComposerAutoloaderInit8a4dd00e82d2b6f6af6b74f1633a86b8', 'loadClassLoader'), true, true);
  22. self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__)));
  23. spl_autoload_unregister(array('ComposerAutoloaderInit8a4dd00e82d2b6f6af6b74f1633a86b8', 'loadClassLoader'));
  24. $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
  25. if ($useStaticLoader) {
  26. require __DIR__ . '/autoload_static.php';
  27. call_user_func(\Composer\Autoload\ComposerStaticInit8a4dd00e82d2b6f6af6b74f1633a86b8::getInitializer($loader));
  28. } else {
  29. $map = require __DIR__ . '/autoload_namespaces.php';
  30. foreach ($map as $namespace => $path) {
  31. $loader->set($namespace, $path);
  32. }
  33. $map = require __DIR__ . '/autoload_psr4.php';
  34. foreach ($map as $namespace => $path) {
  35. $loader->setPsr4($namespace, $path);
  36. }
  37. $classMap = require __DIR__ . '/autoload_classmap.php';
  38. if ($classMap) {
  39. $loader->addClassMap($classMap);
  40. }
  41. }
  42. $loader->register(true);
  43. if ($useStaticLoader) {
  44. $includeFiles = Composer\Autoload\ComposerStaticInit8a4dd00e82d2b6f6af6b74f1633a86b8::$files;
  45. } else {
  46. $includeFiles = require __DIR__ . '/autoload_files.php';
  47. }
  48. foreach ($includeFiles as $fileIdentifier => $file) {
  49. composerRequire8a4dd00e82d2b6f6af6b74f1633a86b8($fileIdentifier, $file);
  50. }
  51. return $loader;
  52. }
  53. }
  54. /**
  55. * @param string $fileIdentifier
  56. * @param string $file
  57. * @return void
  58. */
  59. function composerRequire8a4dd00e82d2b6f6af6b74f1633a86b8($fileIdentifier, $file)
  60. {
  61. if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
  62. $GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;
  63. require $file;
  64. }
  65. }