. /** * This file contains mappings for legacy classes that do not fit the standard class naming conventions. * * In time these classes should be renamed to fit the standard class naming conventions but this is not an overnight process. * * @package core * @copyright Andrew Lyons * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ defined('MOODLE_INTERNAL') || die(); // Like other files in the db directory this file uses an array. // The old class name is the key, the path to the file containing the class is the vlaue. // The array must be called $legacyclasses. $legacyclasses = [ \bootstrap_renderer::class => 'output/bootstrap_renderer.php', \coding_exception::class => 'exception/coding_exception.php', \file_serving_exception::class => 'exception/file_serving_exception.php', \invalid_dataroot_permissions::class => 'exception/invalid_dataroot_permissions.php', \invalid_parameter_exception::class => 'exception/invalid_parameter_exception.php', \invalid_response_exception::class => 'exception/invalid_response_exception.php', \invalid_state_exception::class => 'exception/invalid_state_exception.php', \moodle_exception::class => 'exception/moodle_exception.php', \require_login_exception::class => 'exception/require_login_exception.php', \require_login_session_timeout_exception::class => 'exception/require_login_session_timeout_exception.php', \required_capability_exception::class => 'exception/required_capability_exception.php', \webservice_parameter_exception::class => 'exception/webservice_parameter_exception.php', ];