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.

(no description)

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

Defines 1 class

MoodleStepcountFormatter:: (10 methods):
  __construct()
  getSubscribedEvents()
  getName()
  getDescription()
  getOutputPrinter()
  setParameter()
  getParameter()
  beforeFeature()
  afterFeature()
  afterStep()


Class: MoodleStepcountFormatter  - 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

beforeFeature(BeforeFeatureTested $event)   X-Ref
Listens to "feature.before" event.

param: BeforeFeatureTested $event

afterFeature(AfterFeatureTested $event)   X-Ref
Listens to "feature.after" event.

param: AfterFeatureTested $event

afterStep(AfterStepTested $event)   X-Ref
Listens to "step.after" event.

param: AfterStepTested $event