MediaWiki  master
MediaWiki\Hook\MediaWikiPHPUnitTest__endTestHook Interface Reference

This is a hook handler interface, see docs/Hooks.md. More...

Inheritance diagram for MediaWiki\Hook\MediaWikiPHPUnitTest__endTestHook:

Public Member Functions

 onMediaWikiPHPUnitTest__endTest ( $test, $time)
 This hook is called after each PHPUnit test completes. More...
 

Detailed Description

This is a hook handler interface, see docs/Hooks.md.

Use the hook name "MediaWikiPHPUnitTest::endTest" to register handlers implementing this interface.

Stable to implement

Definition at line 15 of file MediaWikiPHPUnitTest__endTestHook.php.

Member Function Documentation

◆ onMediaWikiPHPUnitTest__endTest()

MediaWiki\Hook\MediaWikiPHPUnitTest__endTestHook::onMediaWikiPHPUnitTest__endTest (   $test,
  $time 
)

This hook is called after each PHPUnit test completes.

Since
1.35
Parameters
Test$test
int$timeExecution time in seconds
Returns
bool|void True or no return value to continue or false to abort

Implemented in MediaWiki\HookContainer\HookRunner.


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