Documentation

Profiler extends AbstractProfiler
in package

MySQL database adapter profiler class

Tags
category

Pop

author

Nick Sagona, III dev@nolainteractive.com

copyright

Copyright (c) 2009-2023 NOLA Interactive, LLC. (http://www.nolainteractive.com)

license

http://www.popphp.org/license New BSD License

version
5.3.0

Table of Contents

$current  : int
Profiler current index
$finish  : float
Step finish time
$start  : float
Step start time
$steps  : array<string|int, mixed>
Profiler steps
__construct()  : mixed
Constructor
__get()  : mixed
Magic method to support shorthand calls to certain values in the profiler
addStep()  : Profiler
Add step
finish()  : AbstractProfiler
Finish profiler
getCurrentStep()  : Step
Get current step
getElapsed()  : string
Get elapsed time
getFinish()  : float
Get finish
getStart()  : float
Get start
getSteps()  : array<string|int, mixed>
Get steps

Properties

$current

Profiler current index

protected int $current = 0

$steps

Profiler steps

protected array<string|int, mixed> $steps = []

Methods

__construct()

Constructor

public __construct() : mixed

Instantiate the profiler object

Return values
mixed

__get()

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

public __get(string $name) : mixed
Parameters
$name : string
Return values
mixed

getCurrentStep()

Get current step

public getCurrentStep() : Step
Return values
Step

getElapsed()

Get elapsed time

public getElapsed() : string
Return values
string

getFinish()

Get finish

public getFinish() : float
Return values
float

getSteps()

Get steps

public getSteps() : array<string|int, mixed>
Return values
array<string|int, mixed>

Search results