\Pop\Debug\HandlerQueryHandler

Debug query handler class

Summary

Methods
Properties
Constants
__construct()
setName()
getName()
prepare()
prepareHeaderAsString()
prepareAsString()
setProfiler()
hasProfiler()
getProfiler()
profiler()
__get()
No public properties found
No constants found
No protected methods found
$name
$profiler
N/A
No private methods found
No private properties found
N/A

Properties

$name

$name : string

Name of time measurement

Type

string

Methods

__construct()

__construct(\Pop\Db\Adapter\Profiler\Profiler  $profiler = null, string  $name = null) 

Constructor

Instantiate a query handler object

Parameters

\Pop\Db\Adapter\Profiler\Profiler $profiler
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

hasProfiler()

hasProfiler() : boolean

Determine if the handler has a profiler

Returns

boolean

__get()

__get(string  $name) : mixed

Magic get method to return the profiler.

Parameters

string $name

Returns

mixed