Moodle PHP Documentation 4.4
Moodle 4.4.1 (Build: 20240610) (db07c09afc5)
Moodle\BehatExtension\Output\Formatter\MoodleProgressFormatterFactory Class Reference
Inheritance diagram for Moodle\BehatExtension\Output\Formatter\MoodleProgressFormatterFactory:

Public Member Functions

 __construct (ServiceProcessor $processor=null)
 Initializes extension.
 
 buildFormatter (ContainerBuilder $container)
 Builds formatter configuration.
 
 processFormatter (ContainerBuilder $container)
 Processes formatter configuration.
 

Public Attributes

string const RESULT_TO_STRING_CONVERTER_ID_MOODLE = 'output.node.printer.result_to_string'
 moodle printer ID
 
string const ROOT_LISTENER_ID_MOODLE = 'output.node.listener.moodleprogress'
 moodle progress ID
 
string const ROOT_LISTENER_WRAPPER_TAG_MOODLE = 'output.node.listener.moodleprogress.wrapper'
 Available extension points.
 

Protected Member Functions

 createOutputPrinterDefinition ()
 Creates output printer definition.
 
 loadCorePrinters (ContainerBuilder $container)
 Loads feature, scenario and step printers.
 
 loadFormatter (ContainerBuilder $container)
 Loads formatter itself.
 
 loadPrinterHelpers (ContainerBuilder $container)
 Loads printer helpers.
 
 loadRootNodeListener (ContainerBuilder $container)
 Loads progress formatter node event listener.
 
 processListenerWrappers (ContainerBuilder $container)
 Processes all registered pretty formatter node listener wrappers.
 

Constructor & Destructor Documentation

◆ __construct()

Moodle\BehatExtension\Output\Formatter\MoodleProgressFormatterFactory::__construct ( ServiceProcessor $processor = null)

Initializes extension.

Parameters
null | ServiceProcessor$processor

Member Function Documentation

◆ buildFormatter()

Moodle\BehatExtension\Output\Formatter\MoodleProgressFormatterFactory::buildFormatter ( ContainerBuilder $container)

Builds formatter configuration.

Parameters
ContainerBuilder$container

◆ createOutputPrinterDefinition()

Moodle\BehatExtension\Output\Formatter\MoodleProgressFormatterFactory::createOutputPrinterDefinition ( )
protected

Creates output printer definition.

Return values
Definition

◆ loadCorePrinters()

Moodle\BehatExtension\Output\Formatter\MoodleProgressFormatterFactory::loadCorePrinters ( ContainerBuilder $container)
protected

Loads feature, scenario and step printers.

Parameters
ContainerBuilder$container

◆ loadFormatter()

Moodle\BehatExtension\Output\Formatter\MoodleProgressFormatterFactory::loadFormatter ( ContainerBuilder $container)
protected

Loads formatter itself.

Parameters
ContainerBuilder$container

◆ loadPrinterHelpers()

Moodle\BehatExtension\Output\Formatter\MoodleProgressFormatterFactory::loadPrinterHelpers ( ContainerBuilder $container)
protected

Loads printer helpers.

Parameters
ContainerBuilder$container

◆ loadRootNodeListener()

Moodle\BehatExtension\Output\Formatter\MoodleProgressFormatterFactory::loadRootNodeListener ( ContainerBuilder $container)
protected

Loads progress formatter node event listener.

Parameters
ContainerBuilder$container

◆ processFormatter()

Moodle\BehatExtension\Output\Formatter\MoodleProgressFormatterFactory::processFormatter ( ContainerBuilder $container)

Processes formatter configuration.

Parameters
ContainerBuilder$container

◆ processListenerWrappers()

Moodle\BehatExtension\Output\Formatter\MoodleProgressFormatterFactory::processListenerWrappers ( ContainerBuilder $container)
protected

Processes all registered pretty formatter node listener wrappers.

Parameters
ContainerBuilder$container

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