Documentation

QueryCollector extends DataCollector
in package
implements Renderable, AssetProvider

Interfaces, Classes and Traits

Renderable
AssetProvider

Table of Contents

$executedQueries  : array<string|int, mixed>
addQuery()  : void
collect()  : array<string|int, mixed>
getAssets()  : mixed
getName()  : mixed
getWidgets()  : array<string|int, mixed>
interpolatePlaceholders()  : string

Properties

$executedQueries

private array<string|int, mixed> $executedQueries = []

Methods

addQuery()

public addQuery(string $sql[, float $durationSeconds = 0.0 ], int $rowCount[, array<string|int, mixed> $values = [] ][, Model|null $model = null ]) : void
Parameters
$sql : string
$durationSeconds : float = 0.0
$rowCount : int
$values : array<string|int, mixed> = []
$model : Model|null = null
Return values
void

collect()

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

getWidgets()

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

interpolatePlaceholders()

private interpolatePlaceholders(string $sql, array<string|int, mixed> $values) : string
Parameters
$sql : string
$values : array<string|int, mixed>
Return values
string

Search results