Table Of Contents

Previous topic

Class Phalcon\Db\Profiler

Next topic

Class Phalcon\Db\RawValue

This Page

Class Phalcon\Db\Profiler\Item

This class identifies each profile in a Phalcon\Db\Profiler

Methods

public setSQLStatement (string $sqlStatement)

Sets the SQL statement related to the profile

public string getSQLStatement ()

Returns the SQL statement related to the profile

public setInitialTime (int $initialTime)

Sets the timestamp on when the profile started

public setFinalTime (int $finalTime)

Sets the timestamp on when the profile ended

public double getInitialTime ()

Returns the initial time in milseconds on when the profile started

public double getFinalTime ()

Returns the initial time in milseconds on when the profile ended

public double getTotalElapsedSeconds ()

Returns the total time in seconds spent by the profile