Documentation

Debugging
in package

Class to help manage global state of various debugging variables.

TODO: Make Debugging::enabled() instead of needing to do defined('DEBUGGING') && DEBUGGING.

Tags
author

Aberdeener

version
2.0.0
license

MIT

Table of Contents

Properties

$_can_generate_debug_link  : bool
$_can_view_detailed_error  : bool

Methods

canGenerateDebugLink()  : bool
canViewDetailedError()  : bool
setCanGenerateDebugLink()  : void
setCanViewDetailedError()  : void

Properties

private static bool $_can_generate_debug_link = \false

$_can_view_detailed_error

private static bool $_can_view_detailed_error = \false

Methods

public static canGenerateDebugLink() : bool
Return values
bool

canViewDetailedError()

public static canViewDetailedError() : bool
Return values
bool
public static setCanGenerateDebugLink(bool $can_generate_debug_link) : void
Parameters
$can_generate_debug_link : bool

setCanViewDetailedError()

public static setCanViewDetailedError(bool $detailed_error) : void
Parameters
$detailed_error : bool

        
On this page

Search results