autoload_real.php 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. <?php
  2. // autoload_real.php @generated by Composer
  3. class ComposerAutoloaderInitf16474ac994ccc25392f403933800b79
  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('ComposerAutoloaderInitf16474ac994ccc25392f403933800b79', 'loadClassLoader'), true, true);
  22. self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
  23. spl_autoload_unregister(array('ComposerAutoloaderInitf16474ac994ccc25392f403933800b79', 'loadClassLoader'));
  24. require __DIR__ . '/autoload_static.php';
  25. call_user_func(\Composer\Autoload\ComposerStaticInitf16474ac994ccc25392f403933800b79::getInitializer($loader));
  26. $loader->register(true);
  27. $includeFiles = \Composer\Autoload\ComposerStaticInitf16474ac994ccc25392f403933800b79::$files;
  28. foreach ($includeFiles as $fileIdentifier => $file) {
  29. composerRequiref16474ac994ccc25392f403933800b79($fileIdentifier, $file);
  30. }
  31. return $loader;
  32. }
  33. }
  34. /**
  35. * @param string $fileIdentifier
  36. * @param string $file
  37. * @return void
  38. */
  39. function composerRequiref16474ac994ccc25392f403933800b79($fileIdentifier, $file)
  40. {
  41. if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
  42. $GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;
  43. require $file;
  44. }
  45. }