Constants

ENV_RESTART

ENV_RESTART = 'XDEBUG_HANDLER_RESTART'

CHECK

CHECK = 'Check'

ERROR

ERROR = 'Error'

INFO

INFO = 'Info'

NORESTART

NORESTART = 'NoRestart'

RESTART

RESTART = 'Restart'

RESTARTING

RESTARTING = 'Restarting'

RESTARTED

RESTARTED = 'Restarted'

Properties

$debug

$debug : 

Type

$envAllowXdebug

$envAllowXdebug : 

Type

$loaded

$loaded : 

Type

$logger

$logger : 

Type

$time

$time : 

Type

Methods

__construct()

__construct(string  $envAllowXdebug, boolean  $debug) 

Constructor

Parameters

string $envAllowXdebug

Prefixed _ALLOW_XDEBUG name

boolean $debug

Whether debug output is required

report()

report(string  $op, null|string  $data) 

Calls a handler method to report a message

Parameters

string $op

The handler constant

null|string $data

Data required by the handler

output()

output(string  $text, string  $level = null) 

Outputs a status message

Parameters

string $text
string $level

reportCheck()

reportCheck(  $loaded) 

Parameters

$loaded

reportError()

reportError(  $error) 

Parameters

$error

reportInfo()

reportInfo(  $info) 

Parameters

$info

reportNoRestart()

reportNoRestart() 

reportRestart()

reportRestart() 

reportRestarted()

reportRestarted() 

reportRestarting()

reportRestarting(  $command) 

Parameters

$command

getEnvAllow()

getEnvAllow() : string

Returns the _ALLOW_XDEBUG environment variable as name=value

Returns

string

getLoadedMessage()

getLoadedMessage() : string

Returns the xdebug status and version

Returns

string