Search moodle.org's
Developer Documentation

See Release Notes
Long Term Support Release

  • Bug fixes for general core bugs in 4.1.x will end 13 November 2023 (12 months).
  • Bug fixes for security issues in 4.1.x will end 10 November 2025 (36 months).
  • PHP version: minimum PHP 7.4.0 Note: minimum PHP version has increased since Moodle 4.0. PHP 8.0.x is supported too.

Differences Between: [Versions 310 and 401] [Versions 311 and 401] [Versions 39 and 401] [Versions 400 and 401] [Versions 401 and 402] [Versions 401 and 403]

   1  <?php
   2  
   3  // autoload_real.php @generated by Composer
   4  
   5  class ComposerAutoloaderInite0d802f9161d0d84fba97a5520240273
   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('ComposerAutoloaderInite0d802f9161d0d84fba97a5520240273', 'loadClassLoader'), true, true);
  28          self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
  29          spl_autoload_unregister(array('ComposerAutoloaderInite0d802f9161d0d84fba97a5520240273', 'loadClassLoader'));
  30  
  31          require  __DIR__ . '/autoload_static.php';
  32          call_user_func(\Composer\Autoload\ComposerStaticInite0d802f9161d0d84fba97a5520240273::getInitializer($loader));
  33  
  34          $loader->register(true);
  35  
  36          return $loader;
  37      }
  38  }