Properties

$handlers

$handlers : array

Debugger handlers

Type

array

$requestId

$requestId : string

Debugger request ID

Type

string

Methods

__construct()

__construct() 

Constructor

Instantiate a debug object

hasHandler()

hasHandler(string  $name) : boolean

Determine if the debug object has a handler

Parameters

string $name

Returns

boolean

getHandler()

getHandler(string  $name) : mixed

Get a handler

Parameters

string $name

Returns

mixed

getHandlers()

getHandlers() : array

Get all handlers

Returns

array

hasStorage()

hasStorage() : boolean

Determine if the debug object has storage

Returns

boolean

getData()

getData() : array

Get all data from handlers

Returns

array

save()

save() : void

Save the debug handlers' data to storage

render()

render() : string

Render the debug handlers' data to string

Returns

string

getRequestId()

getRequestId() : string

Get current request ID

Returns

string

renderWithHeaders()

renderWithHeaders() : string

Render the debug handlers' data to string with headers

Returns

string

generateId()

generateId() : string

Generate unique ID

Returns

string

count()

count() : integer

Method to get the count of the handlers

Returns

integer

getIterator()

getIterator() : \ArrayIterator

Method to iterate over the handlers

Returns

\ArrayIterator

__set()

__set(string  $name, mixed  $value) : \Pop\Debug\Debugger

Set a handler

Parameters

string $name
mixed $value

Returns

\Pop\Debug\Debugger

__isset()

__isset(string  $name) : boolean

Is handler set

Parameters

string $name

Returns

boolean

__unset()

__unset(string  $name) : void

Unset a handler

Parameters

string $name

offsetSet()

offsetSet(mixed  $offset, mixed  $value) : \Pop\Debug\Debugger

ArrayAccess offsetSet

Parameters

mixed $offset
mixed $value

Throws

\Pop\Debug\Exception

Returns

\Pop\Debug\Debugger

offsetGet()

offsetGet(mixed  $offset) : mixed

ArrayAccess offsetGet

Parameters

mixed $offset

Returns

mixed

offsetExists()

offsetExists(mixed  $offset) : boolean

ArrayAccess offsetExists

Parameters

mixed $offset

Returns

boolean

offsetUnset()

offsetUnset(mixed  $offset) : void

ArrayAccess offsetUnset

Parameters

mixed $offset

__toString()

__toString() : string

Render to string

Returns

string