Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 3.11.x will end 14 Nov 2022 (12 months plus 6 months extension).
  • Bug fixes for security issues in 3.11.x will end 13 Nov 2023 (18 months plus 12 months extension).
  • PHP version: minimum PHP 7.3.0 Note: minimum PHP version has increased since Moodle 3.10. PHP 7.4.x is supported too.
<?php

// autoload_real.php @generated by Composer

< class ComposerAutoloaderInit596026141085fc6d905fff9fde42dc1b
> class ComposerAutoloaderInitdb9a9022baf20d73f1edf8437bc648d7
{ private static $loader; public static function loadClassLoader($class) { if ('Composer\Autoload\ClassLoader' === $class) { require __DIR__ . '/ClassLoader.php'; } } /** * @return \Composer\Autoload\ClassLoader */ public static function getLoader() { if (null !== self::$loader) { return self::$loader; } require __DIR__ . '/platform_check.php';
< spl_autoload_register(array('ComposerAutoloaderInit596026141085fc6d905fff9fde42dc1b', 'loadClassLoader'), true, true); < self::$loader = $loader = new \Composer\Autoload\ClassLoader(); < spl_autoload_unregister(array('ComposerAutoloaderInit596026141085fc6d905fff9fde42dc1b', 'loadClassLoader'));
> spl_autoload_register(array('ComposerAutoloaderInitdb9a9022baf20d73f1edf8437bc648d7', 'loadClassLoader'), true, true); > self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__)); > spl_autoload_unregister(array('ComposerAutoloaderInitdb9a9022baf20d73f1edf8437bc648d7', 'loadClassLoader'));
< $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded()); < if ($useStaticLoader) {
require __DIR__ . '/autoload_static.php';
< < call_user_func(\Composer\Autoload\ComposerStaticInit596026141085fc6d905fff9fde42dc1b::getInitializer($loader)); < } else { < $map = require __DIR__ . '/autoload_namespaces.php'; < foreach ($map as $namespace => $path) { < $loader->set($namespace, $path); < } < < $map = require __DIR__ . '/autoload_psr4.php'; < foreach ($map as $namespace => $path) { < $loader->setPsr4($namespace, $path); < } < < $classMap = require __DIR__ . '/autoload_classmap.php'; < if ($classMap) { < $loader->addClassMap($classMap); < } < }
> call_user_func(\Composer\Autoload\ComposerStaticInitdb9a9022baf20d73f1edf8437bc648d7::getInitializer($loader));
$loader->register(true);
< if ($useStaticLoader) { < $includeFiles = Composer\Autoload\ComposerStaticInit596026141085fc6d905fff9fde42dc1b::$files; < } else { < $includeFiles = require __DIR__ . '/autoload_files.php'; < } < foreach ($includeFiles as $fileIdentifier => $file) { < composerRequire596026141085fc6d905fff9fde42dc1b($fileIdentifier, $file); < } <
return $loader;
< } < } < < function composerRequire596026141085fc6d905fff9fde42dc1b($fileIdentifier, $file) < { < if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) { < require $file; < < $GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;
} }