CanCollect
Table of Contents
-
collectLogger()
: void
-
collectQuery()
: void
-
collectTemplate()
: void
collectLogger()
public
static collectLogger(Logger $logger) : void
Parameters
-
$logger
: Logger
-
Return values
void
—
collectQuery()
public
static collectQuery(string $sql, float $durationSeconds, int $rowCount, array<string|int, mixed> $values[, Model|null $model = null ]) : void
Parameters
-
$sql
: string
-
-
$durationSeconds
: float
-
-
$rowCount
: int
-
-
$values
: array<string|int, mixed>
-
-
$model
: Model|null
= null
-
Return values
void
—
collectTemplate()
public
static collectTemplate(string $name, array<string|int, mixed> $data, string $type, string $layout) : void
Parameters
-
$name
: string
-
-
$data
: array<string|int, mixed>
-
-
$type
: string
-
-
$layout
: string
-
Return values
void
—