\Pop\Debug\HandlerExceptionHandler

Debug exception handler class

Summary

Methods
Properties
Constants
__construct()
setName()
getName()
prepare()
prepareHeaderAsString()
prepareAsString()
addException()
hasExceptions()
getExceptions()
No public properties found
No constants found
No protected methods found
$name
$exceptions
N/A
No private methods found
No private properties found
N/A

Properties

$name

$name : string

Name of time measurement

Type

string

$exceptions

$exceptions : array

Exceptions

Type

array

Methods

__construct()

__construct(string  $name = null) 

Constructor

Instantiate a handler object

Parameters

string $name

getName()

getName() : string

Get name

Returns

string

prepare()

prepare() : array

Prepare handler data for storage

Returns

array

prepareHeaderAsString()

prepareHeaderAsString() : string

Prepare header string

Returns

string

prepareAsString()

prepareAsString() : string

Prepare handler data as string

Returns

string

addException()

addException(\Exception  $exception) : self

Add exception

Parameters

\Exception $exception

Returns

self

hasExceptions()

hasExceptions() : boolean

Determine if the handler has exceptions

Returns

boolean

getExceptions()

getExceptions() : array

Get exceptions

Returns

array