QueryCollector
extends DataCollector
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
$executedQueries
private
array<string|int, mixed>
$executedQueries
= []
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>
—
getAssets()
public
getAssets() : mixed
Return values
mixed
—
getName()
public
getName() : mixed
Return values
mixed
—
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
—