autoload_real.php 1.6 KB

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