[ Index ]

PHP Cross Reference of DokuWiki

title

Body

[close]

/vendor/composer/ -> autoload_real.php (source)

   1  <?php
   2  
   3  // autoload_real.php @generated by Composer
   4  
   5  class ComposerAutoloaderInita19a915ee98347a0c787119619d2ff9b
   6  {
   7      private static $loader;
   8  
   9      public static function loadClassLoader($class)
  10      {
  11          if ('Composer\Autoload\ClassLoader' === $class) {
  12              require  __DIR__ . '/ClassLoader.php';
  13          }
  14      }
  15  
  16      /**
  17       * @return \Composer\Autoload\ClassLoader
  18       */
  19      public static function getLoader()
  20      {
  21          if (null !== self::$loader) {
  22              return self::$loader;
  23          }
  24  
  25          require  __DIR__ . '/platform_check.php';
  26  
  27          spl_autoload_register(array('ComposerAutoloaderInita19a915ee98347a0c787119619d2ff9b', 'loadClassLoader'), true, true);
  28          self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
  29          spl_autoload_unregister(array('ComposerAutoloaderInita19a915ee98347a0c787119619d2ff9b', 'loadClassLoader'));
  30  
  31          require  __DIR__ . '/autoload_static.php';
  32          call_user_func(\Composer\Autoload\ComposerStaticInita19a915ee98347a0c787119619d2ff9b::getInitializer($loader));
  33  
  34          $loader->register(true);
  35  
  36          $includeFiles = \Composer\Autoload\ComposerStaticInita19a915ee98347a0c787119619d2ff9b::$files;
  37          foreach ($includeFiles as $fileIdentifier => $file) {
  38              composerRequirea19a915ee98347a0c787119619d2ff9b($fileIdentifier, $file);
  39          }
  40  
  41          return $loader;
  42      }
  43  }
  44  
  45  /**
  46   * @param string $fileIdentifier
  47   * @param string $file
  48   * @return void
  49   */
  50  function composerRequirea19a915ee98347a0c787119619d2ff9b($fileIdentifier, $file)
  51  {
  52      if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
  53          $GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;
  54  
  55          require $file;
  56      }
  57  }