\Pop\Debug\HandlerRequestHandler

Debug request handler class

Summary

Methods
Properties
Constants
__construct()
setName()
getName()
prepare()
prepareHeaderAsString()
prepareAsString()
setRequest()
getRequest()
request()
hasRequest()
getRequestTimestamp()
No public properties found
No constants found
No protected methods found
$name
$request
$requestTimestamp
N/A
No private methods found
No private properties found
N/A

Properties

$name

$name : string

Name of time measurement

Type

string

$requestTimestamp

$requestTimestamp : float

Request timestamp

Type

float

Methods

__construct()

__construct(string  $name = null, \Pop\Http\Server\Request  $request = null) 

Constructor

Instantiate a request handler object

Parameters

string $name
\Pop\Http\Server\Request $request

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

hasRequest()

hasRequest() : boolean

Has request

Returns

boolean

getRequestTimestamp()

getRequestTimestamp() : float

Get request timestamp

Returns

float