Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F5960808
HookRunner.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
560 B
Referenced Files
None
Subscribers
None
HookRunner.php
View Options
<?php
namespace
MediaWiki\Extension\TorBlock\Hooks
;
use
MediaWiki\HookContainer\HookContainer
;
/**
* This is a hook runner class, see docs/Hooks.md in core.
* @internal
*/
class
HookRunner
implements
TorBlockBlockedMsgHook
{
private
HookContainer
$hookContainer
;
public
function
__construct
(
HookContainer
$hookContainer
)
{
$this
->
hookContainer
=
$hookContainer
;
}
/**
* @inheritDoc
*/
public
function
onTorBlockBlockedMsg
(
string
&
$blockedMsg
)
{
return
$this
->
hookContainer
->
run
(
'TorBlockBlockedMsg'
,
[
&
$blockedMsg
]
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sat, Oct 3, 07:37 (1 w, 6 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
5b/be/c7be01df34567177018d26653ea0
Default Alt Text
HookRunner.php (560 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment