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
Table of Contents
Properties
- $_can_generate_debug_link : bool
- $_can_view_detailed_error : bool
Methods
- canGenerateDebugLink() : bool
- canViewDetailedError() : bool
- setCanGenerateDebugLink() : void
- setCanViewDetailedError() : void
Properties
$_can_generate_debug_link
private
static bool
$_can_generate_debug_link
= \false
$_can_view_detailed_error
private
static bool
$_can_view_detailed_error
= \false
Methods
canGenerateDebugLink()
public
static canGenerateDebugLink() : bool
Return values
boolcanViewDetailedError()
public
static canViewDetailedError() : bool
Return values
boolsetCanGenerateDebugLink()
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