LaravelProfilingProfiler

Summary

No public properties found
No constants found
No protected methods found
N/A
No private methods found
No private properties found
N/A
File
profilingprofiler.php
Package
Default
Class hierarchy
LaravelProfilingProfiler

Tags

None found

Properties

$data

$data : array

An array of the recorded Profiler data.

Type

array

Tags

None found

Methods

render()

render(\Laravel\Profiling\Response  $response) : string

Get the rendered contents of the Profiler.

Parameters

LaravelProfilingResponse $response

Returns

string

static

Tags

None found

time()

time(\Laravel\Profiling\closure  $func, string  $name = 'default_func_timer') : void

Allow a callback to be timed.

Parameters

LaravelProfilingclosure $func
string $name

static

Tags

None found

tick()

tick(string  $name = 'default_timer',   $callback = null) : void

Start, or add a tick to a timer.

Parameters

string $name
$callback

static

Tags

None found

log()

log(string  $type, string  $message) : void

Add a log entry to the log entries array.

Parameters

string $type
string $message

static

Tags

None found

query()

query(string  $sql, array  $bindings, float  $time) : void

Add a performed SQL query to the Profiler.

Parameters

string $sql
array $bindings
float $time

static

Tags

None found

attach()

attach() : void

Attach the Profiler's event listeners.

static

Tags

None found