Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F7455221
HookRunner.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
496 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
{
public
function
__construct
(
private
readonly
HookContainer
$hookContainer
)
{
}
/**
* @inheritDoc
*/
public
function
onTorBlockBlockedMsg
(
string
&
$blockedMsg
)
{
return
$this
->
hookContainer
->
run
(
'TorBlockBlockedMsg'
,
[
&
$blockedMsg
]
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sun, Nov 22, 23:45 (2 d, 11 h ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
35/6c/7dce567b5c876a8bff780df3b003
Default Alt Text
HookRunner.php (496 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment