Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
mod_forum\local\container Class Reference

Container class. More...

Static Public Member Functions

static get_builder_factory ()
 Create the builder factory.
 
static get_entity_factory ()
 Create the entity factory.
 
static get_exporter_factory ()
 Create the exporter factory.
 
static get_legacy_data_mapper_factory ()
 Create the legacy data mapper factory.
 
static get_manager_factory ()
 Create the manager factory.
 
static get_renderer_factory ()
 Create the renderer factory.
 
static get_url_factory ()
 Create the URL factory.
 
static get_vault_factory ()
 Create the vault factory.
 

Detailed Description

Container class.

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

License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

Member Function Documentation

◆ get_builder_factory()

static mod_forum\local\container::get_builder_factory ( )
static

Create the builder factory.

Return values
builder_factory

◆ get_entity_factory()

static mod_forum\local\container::get_entity_factory ( )
static

Create the entity factory.

Return values
entity_factory

◆ get_exporter_factory()

static mod_forum\local\container::get_exporter_factory ( )
static

Create the exporter factory.

Return values
exporter_factory

◆ get_legacy_data_mapper_factory()

static mod_forum\local\container::get_legacy_data_mapper_factory ( )
static

Create the legacy data mapper factory.

Return values
legacy_data_mapper_factory

◆ get_manager_factory()

static mod_forum\local\container::get_manager_factory ( )
static

Create the manager factory.

Return values
manager_factory

◆ get_renderer_factory()

static mod_forum\local\container::get_renderer_factory ( )
static

Create the renderer factory.

Return values
renderer_factory

◆ get_url_factory()

static mod_forum\local\container::get_url_factory ( )
static

Create the URL factory.

Return values
url_factory

◆ get_vault_factory()

static mod_forum\local\container::get_vault_factory ( )
static

Create the vault factory.

Return values
vault_factory

The documentation for this class was generated from the following file: