Search moodle.org's
Developer Documentation

See Release Notes
Long Term Support Release

  • Bug fixes for general core bugs in 4.1.x will end 13 November 2023 (12 months).
  • Bug fixes for security issues in 4.1.x will end 10 November 2025 (36 months).
  • PHP version: minimum PHP 7.4.0 Note: minimum PHP version has increased since Moodle 4.0. PHP 8.0.x is supported too.

(no description)

File Size: 210 lines (9 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

MoodleProgressFormatterFactory:: (9 methods):
  __construct()
  buildFormatter()
  processFormatter()
  loadRootNodeListener()
  loadFormatter()
  loadPrinterHelpers()
  loadCorePrinters()
  createOutputPrinterDefinition()
  processListenerWrappers()


Class: MoodleProgressFormatterFactory  - X-Ref

Moodle behat context class resolver.

__construct(ServiceProcessor $processor = null)   X-Ref
Initializes extension.

param: null|ServiceProcessor $processor

buildFormatter(ContainerBuilder $container)   X-Ref
Builds formatter configuration.

param: ContainerBuilder $container

processFormatter(ContainerBuilder $container)   X-Ref
Processes formatter configuration.

param: ContainerBuilder $container

loadRootNodeListener(ContainerBuilder $container)   X-Ref
Loads progress formatter node event listener.

param: ContainerBuilder $container

loadFormatter(ContainerBuilder $container)   X-Ref
Loads formatter itself.

param: ContainerBuilder $container

loadPrinterHelpers(ContainerBuilder $container)   X-Ref
Loads printer helpers.

param: ContainerBuilder $container

loadCorePrinters(ContainerBuilder $container)   X-Ref
Loads feature, scenario and step printers.

param: ContainerBuilder $container

createOutputPrinterDefinition()   X-Ref
Creates output printer definition.

return: Definition

processListenerWrappers(ContainerBuilder $container)   X-Ref
Processes all registered pretty formatter node listener wrappers.

param: ContainerBuilder $container