Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
Moodle\BehatExtension\Tester\Cli\SkipPassedController Class Reference
Inheritance diagram for Moodle\BehatExtension\Tester\Cli\SkipPassedController:

Public Member Functions

 __construct (EventDispatcherInterface $eventdispatcher, $cachepath, $basepath)
 Initializes controller.
 
 collectPassedScenario (AfterScenarioTested $event)
 Records scenario if it is passed.
 
 configure (Command $command)
 Configures command to be executable by the controller.
 
 execute (InputInterface $input, OutputInterface $output)
 Executes controller.
 
 writeCache ()
 Writes passed scenarios cache.
 

Constructor & Destructor Documentation

◆ __construct()

Moodle\BehatExtension\Tester\Cli\SkipPassedController::__construct ( EventDispatcherInterface $eventdispatcher,
$cachepath,
$basepath )

Initializes controller.

Parameters
EventDispatcherInterface$eventdispatcher
null | string$cachepath
string$basepath

Member Function Documentation

◆ collectPassedScenario()

Moodle\BehatExtension\Tester\Cli\SkipPassedController::collectPassedScenario ( AfterScenarioTested $event)

Records scenario if it is passed.

Parameters
AfterScenarioTested$event

◆ configure()

Moodle\BehatExtension\Tester\Cli\SkipPassedController::configure ( Command $command)

Configures command to be executable by the controller.

Parameters
Command$command

◆ execute()

Moodle\BehatExtension\Tester\Cli\SkipPassedController::execute ( InputInterface $input,
OutputInterface $output )

Executes controller.

Parameters
InputInterface$input
OutputInterface$output
Return values
null|integer

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