Page MenuHomeWickedGov Phorge

HookAborterConsequence.php
No OneTemporary

Size
381 B
Referenced Files
None
Subscribers
None

HookAborterConsequence.php

<?php
namespace MediaWiki\Extension\AbuseFilter\Consequences\Consequence;
/**
* Interface for consequences that can abort an action hook with an error message
*/
interface HookAborterConsequence {
/**
* Return a message specifier that will be used to fail the hook
* @return array First element is the key, then the parameters
*/
public function getMessage(): array;
}

File Metadata

Mime Type
text/x-php
Expires
Wed, Aug 19, 02:22 (2 w, 2 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
36/fa/fab8a10baf158d93d5606214e026
Default Alt Text
HookAborterConsequence.php (381 B)

Event Timeline