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.

Container class.

Copyright: 2018 Ryan Wyllie <ryan@moodle.com>
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 154 lines (4 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class


Class: container  - X-Ref

Container class.

This class provides helper methods with static configurations to get any
of the factories from the "local" namespace.

get_renderer_factory()   X-Ref
Create the renderer factory.

return: renderer_factory

get_legacy_data_mapper_factory()   X-Ref
Create the legacy data mapper factory.

return: legacy_data_mapper_factory

get_exporter_factory()   X-Ref
Create the exporter factory.

return: exporter_factory

get_vault_factory()   X-Ref
Create the vault factory.

return: vault_factory

get_manager_factory()   X-Ref
Create the manager factory.

return: manager_factory

get_entity_factory()   X-Ref
Create the entity factory.

return: entity_factory

get_builder_factory()   X-Ref
Create the builder factory.

return: builder_factory

get_url_factory()   X-Ref
Create the URL factory.

return: url_factory