Page MenuHomeWickedGov Phorge

IsTrustedProxyHook.php
No OneTemporary

Size
639 B
Referenced Files
None
Subscribers
None

IsTrustedProxyHook.php

<?php
namespace MediaWiki\Hook;
/**
* This is a hook handler interface, see docs/Hooks.md.
* Use the hook name "IsTrustedProxy" to register handlers implementing this interface.
*
* @stable to implement
* @ingroup Hooks
*/
interface IsTrustedProxyHook {
/**
* Use this hook to override the result of ProxyLookup::isTrustedProxy().
*
* @since 1.35
*
* @param string $ip IP being checked
* @param bool &$result Change this value to override the result of ProxyLookup::isTrustedProxy()
* @return bool|void True or no return value to continue or false to abort
*/
public function onIsTrustedProxy( $ip, &$result );
}

File Metadata

Mime Type
text/x-php
Expires
Tue, Mar 31, 07:41 (1 d, 7 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
f5/20/8611a98d295a2a342e4f9c9e8e3c
Default Alt Text
IsTrustedProxyHook.php (639 B)

Event Timeline