Documentation

WhoopsHandler
in package

Table of Contents

MASKED_SUPERGLOBALS  = ['_GET', '_POST', '_COOKIE', '_SESSION', '_SERVER', '_ENV']
SENSITIVE_KEY_PATTERNS  = ['pass', 'secret', 'token', 'session', 'auth', 'access', 'key', 'credential', 'private', 'bearer']
$run  : Run
__construct()  : mixed
initialize()  : mixed
configureApplicationPaths()  : void
configureEditorLink()  : void
keyLooksSensitive()  : bool
maskSensitiveSuperglobalKeys()  : void

Constants

MASKED_SUPERGLOBALS

private mixed MASKED_SUPERGLOBALS = ['_GET', '_POST', '_COOKIE', '_SESSION', '_SERVER', '_ENV']

SENSITIVE_KEY_PATTERNS

private mixed SENSITIVE_KEY_PATTERNS = ['pass', 'secret', 'token', 'session', 'auth', 'access', 'key', 'credential', 'private', 'bearer']

Properties

Methods

__construct()

public __construct() : mixed
Return values
mixed

initialize()

public static initialize() : mixed
Return values
mixed

configureApplicationPaths()

private configureApplicationPaths(PrettyPageHandler $handler, string $containerAppPath) : void
Parameters
$handler : PrettyPageHandler
$containerAppPath : string
Return values
void
private configureEditorLink(PrettyPageHandler $handler, string $containerAppPath) : void
Parameters
$handler : PrettyPageHandler
$containerAppPath : string
Return values
void

keyLooksSensitive()

private static keyLooksSensitive(string $key) : bool
Parameters
$key : string
Return values
bool

maskSensitiveSuperglobalKeys()

private maskSensitiveSuperglobalKeys(PrettyPageHandler $handler) : void
Parameters
$handler : PrettyPageHandler
Return values
void

Search results