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.

(no description)

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

Defines 1 class

MoodleListFormatter:: (9 methods):
  __construct()
  getSubscribedEvents()
  getName()
  getDescription()
  getOutputPrinter()
  setParameter()
  getParameter()
  afterScenario()
  afterOutlineExample()


Class: MoodleListFormatter  - X-Ref

Feature step counter for distributing features between parallel runs.

Use it with --dry-run (and any other selectors combination) to
get the results quickly.

__construct($name, $description, array $parameters, OutputPrinter $printer)   X-Ref
Initializes formatter.

param: string        $name
param: string        $description
param: array         $parameters
param: OutputPrinter $printer

getSubscribedEvents()   X-Ref
Returns an array of event names this subscriber wants to listen to.

return: array The event names to listen to

getName()   X-Ref
Returns formatter name.

return: string

getDescription()   X-Ref
Returns formatter description.

return: string

getOutputPrinter()   X-Ref
Returns formatter output printer.

return: OutputPrinter

setParameter($name, $value)   X-Ref
Sets formatter parameter.

param: string $name
param: mixed  $value

getParameter($name)   X-Ref
Returns parameter name.

param: string $name
return: mixed

afterScenario(AfterScenarioTested $event)   X-Ref
Listens to "scenario.after" event.

param: AfterScenarioTested $event

afterOutlineExample(AfterOutlineTested $event)   X-Ref
Listens to "outline.example.after" event.

param: AfterOutlineTested $event