Search moodle.org's
Developer Documentation

See Release Notes
Long Term Support Release

  • Bug fixes for general core bugs in 3.9.x will end* 10 May 2021 (12 months).
  • Bug fixes for security issues in 3.9.x will end* 8 May 2023 (36 months).
  • PHP version: minimum PHP 7.2.0 Note: minimum PHP version has increased since Moodle 3.8. PHP 7.3.x and 7.4.x are supported too.
   1  <?php
   2  
   3  // autoload_real.php @generated by Composer
   4  
   5  class ComposerAutoloaderInit8c729390e3f26f25c6e8fe4b9504a4d9
   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('ComposerAutoloaderInit8c729390e3f26f25c6e8fe4b9504a4d9', 'loadClassLoader'), true, true);
  28          self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
  29          spl_autoload_unregister(array('ComposerAutoloaderInit8c729390e3f26f25c6e8fe4b9504a4d9', 'loadClassLoader'));
  30  
  31          require  __DIR__ . '/autoload_static.php';
  32          call_user_func(\Composer\Autoload\ComposerStaticInit8c729390e3f26f25c6e8fe4b9504a4d9::getInitializer($loader));
  33  
  34          $loader->register(true);
  35  
  36          return $loader;
  37      }
  38  }