MediaWiki  master
MediaWiki\Hook\MediaWikiPHPUnitTest__startTestHook Interface Reference

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

Inheritance diagram for MediaWiki\Hook\MediaWikiPHPUnitTest__startTestHook:

Public Member Functions

 onMediaWikiPHPUnitTest__startTest ( $test)
 This hook is called before each PHPUnit test starts. More...
 

Detailed Description

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

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

Stable to implement

Definition at line 15 of file MediaWikiPHPUnitTest__startTestHook.php.

Member Function Documentation

◆ onMediaWikiPHPUnitTest__startTest()

MediaWiki\Hook\MediaWikiPHPUnitTest__startTestHook::onMediaWikiPHPUnitTest__startTest (   $test)

This hook is called before each PHPUnit test starts.

Since
1.35
Parameters
Test$test
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: