autoload_real.php 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. <?php
  2. // autoload_real.php @generated by Composer
  3. class ComposerAutoloaderInitOAuth2
  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('ComposerAutoloaderInitOAuth2', 'loadClassLoader'), true, true);
  21. self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
  22. spl_autoload_unregister(array('ComposerAutoloaderInitOAuth2', 'loadClassLoader'));
  23. require __DIR__ . '/autoload_static.php';
  24. call_user_func(\Composer\Autoload\ComposerStaticInitOAuth2::getInitializer($loader));
  25. $loader->setClassMapAuthoritative(true);
  26. $loader->register(true);
  27. return $loader;
  28. }
  29. }