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

Public Member Functions

 __construct ($name, $description, array $parameters, OutputPrinter $printer)
 Initializes formatter.
 
 afterFeature (AfterFeatureTested $event)
 Listens to "feature.after" event.
 
 afterStep (AfterStepTested $event)
 Listens to "step.after" event.
 
 beforeFeature (BeforeFeatureTested $event)
 Listens to "feature.before" event.
 
 getDescription ()
 Returns formatter description.
 
 getName ()
 Returns formatter name.
 
 getOutputPrinter ()
 Returns formatter output printer.
 
 getParameter ($name)
 Returns parameter name.
 
 setParameter ($name, $value)
 Sets formatter parameter.
 

Static Public Member Functions

static getSubscribedEvents ()
 Returns an array of event names this subscriber wants to listen to.
 

Constructor & Destructor Documentation

◆ __construct()

Moodle\BehatExtension\Output\Formatter\MoodleStepcountFormatter::__construct ( $name,
$description,
array $parameters,
OutputPrinter $printer )

Initializes formatter.

Parameters
string$name
string$description
array$parameters
OutputPrinter$printer

Member Function Documentation

◆ afterFeature()

Moodle\BehatExtension\Output\Formatter\MoodleStepcountFormatter::afterFeature ( AfterFeatureTested $event)

Listens to "feature.after" event.

Parameters
AfterFeatureTested$event

◆ afterStep()

Moodle\BehatExtension\Output\Formatter\MoodleStepcountFormatter::afterStep ( AfterStepTested $event)

Listens to "step.after" event.

Parameters
AfterStepTested$event

◆ beforeFeature()

Moodle\BehatExtension\Output\Formatter\MoodleStepcountFormatter::beforeFeature ( BeforeFeatureTested $event)

Listens to "feature.before" event.

Parameters
BeforeFeatureTested$event

◆ getDescription()

Moodle\BehatExtension\Output\Formatter\MoodleStepcountFormatter::getDescription ( )

Returns formatter description.

Return values
string

◆ getName()

Moodle\BehatExtension\Output\Formatter\MoodleStepcountFormatter::getName ( )

Returns formatter name.

Return values
string

◆ getOutputPrinter()

Moodle\BehatExtension\Output\Formatter\MoodleStepcountFormatter::getOutputPrinter ( )

Returns formatter output printer.

Return values
OutputPrinter

◆ getParameter()

Moodle\BehatExtension\Output\Formatter\MoodleStepcountFormatter::getParameter ( $name)

Returns parameter name.

Parameters
string$name
Return values
mixed

◆ getSubscribedEvents()

static Moodle\BehatExtension\Output\Formatter\MoodleStepcountFormatter::getSubscribedEvents ( )
static

Returns an array of event names this subscriber wants to listen to.

Return values
arrayThe event names to listen to

◆ setParameter()

Moodle\BehatExtension\Output\Formatter\MoodleStepcountFormatter::setParameter ( $name,
$value )

Sets formatter parameter.

Parameters
string$name
mixed$value

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