\Pop\Db\Adapter\ProfilerProfiler

MySQL database adapter profiler class

Summary

Methods
Properties
Constants
__construct()
getStart()
finish()
getFinish()
getElapsed()
addStep()
getSteps()
getCurrentStep()
__get()
No public properties found
No constants found
No protected methods found
$start
$finish
$current
$steps
N/A
No private methods found
No private properties found
N/A

Properties

$start

$start : float

Step start time

Type

float

$finish

$finish : float

Step finish time

Type

float

$current

$current : integer

Profiler current index

Type

integer

$steps

$steps : array

Profiler steps

Type

array

Methods

__construct()

__construct() 

Constructor

Instantiate the profiler object

getStart()

getStart() : float

Get start

Returns

float

getFinish()

getFinish() : float

Get finish

Returns

float

getElapsed()

getElapsed() : string

Get elapsed time

Returns

string

getSteps()

getSteps() : array

Get steps

Returns

array

__get()

__get(string  $name) : mixed

Magic method to support shorthand calls to certain values in the profiler

Parameters

string $name

Returns

mixed