autoload_real.php 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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. spl_autoload_register(array('ComposerAutoloaderInitf16474ac994ccc25392f403933800b79', 'loadClassLoader'), true, true);
  21. self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
  22. spl_autoload_unregister(array('ComposerAutoloaderInitf16474ac994ccc25392f403933800b79', 'loadClassLoader'));
  23. require __DIR__ . '/autoload_static.php';
  24. call_user_func(\Composer\Autoload\ComposerStaticInitf16474ac994ccc25392f403933800b79::getInitializer($loader));
  25. $loader->register(true);
  26. $filesToLoad = \Composer\Autoload\ComposerStaticInitf16474ac994ccc25392f403933800b79::$files;
  27. $requireFile = \Closure::bind(static function ($fileIdentifier, $file) {
  28. if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
  29. $GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;
  30. require $file;
  31. }
  32. }, null, null);
  33. foreach ($filesToLoad as $fileIdentifier => $file) {
  34. $requireFile($fileIdentifier, $file);
  35. }
  36. return $loader;
  37. }
  38. }