Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 3.10.x will end 8 November 2021 (12 months).
  • Bug fixes for security issues in 3.10.x will end 9 May 2022 (18 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.
<?php

// autoload_real.php @generated by Composer

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