Search moodle.org's
Developer Documentation

See Release Notes
Long Term Support Release

  • Bug fixes for general core bugs in 3.9.x will end* 10 May 2021 (12 months).
  • Bug fixes for security issues in 3.9.x will end* 8 May 2023 (36 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.

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