프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$query | Current recorded query | ||
$start | For timing queries: |
프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$connection | Doctrine\DBAL\Connection | Doctrine connection | |
$enm | Doctrine entity manager | ||
$queries | Internal array where queries are stored |
메소드 | 설명 | |
---|---|---|
__construct ( |
||
registerQuery ( $query, $bindings, $time, $connection ) : array | Log the query into the internal store | |
resolve ( |
Adds ran database queries to the request | |
startQuery ( string $sql, array $params = null, array $types = null ) | From SQLLogger Doctrine Interface | |
stopQuery ( ) | From SQLLogger Doctrine Interface |
메소드 | 설명 | |
---|---|---|
convertParam ( $param ) | ||
formatQuery ( $sql ) | ||
getDatabaseQueries ( ) | Returns an array of runnable queries and their durations from the internal array | |
replaceParams ( $sql, $params ) |
protected getDatabaseQueries ( ) |
public registerQuery ( $query, $bindings, $time, $connection ) : array | ||
리턴 | array |
public resolve ( |
||
$request |
protected Connection,Doctrine\DBAL $connection | ||
리턴 | Doctrine\DBAL\Connection |