Methods summary
public static
string
|
#
render( Response $response )
Get the rendered contents of the Profiler.
Get the rendered contents of the Profiler.
Parameters
- $response
Response $response
Returns
string
|
public static
|
#
time( closure $func, string $name = 'default_func_timer' )
Allow a callback to be timed.
Allow a callback to be timed.
Parameters
- $func
closure $func
- $name
string $name
|
public static
|
#
tick( string $name = 'default_timer', mixed $callback = null )
Start, or add a tick to a timer.
Start, or add a tick to a timer.
Parameters
- $name
string $name
- $callback
|
public static
|
#
log( string $type, string $message )
Add a log entry to the log entries array.
Add a log entry to the log entries array.
Parameters
- $type
string $type
- $message
string $message
|
public static
|
#
query( string $sql, array $bindings, float $time )
Add a performed SQL query to the Profiler.
Add a performed SQL query to the Profiler.
Parameters
- $sql
string $sql
- $bindings
array $bindings
- $time
float $time
|
public static
|
#
attach( )
Attach the Profiler's event listeners.
Attach the Profiler's event listeners.
|