| Total Complexity | 4 |
| Total Lines | 28 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 7 | class Logger implements SQLLogger |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * @var callable |
||
| 11 | */ |
||
| 12 | private $flusher; |
||
| 13 | |||
| 14 | public function __construct(callable $flusher) |
||
| 15 | { |
||
| 16 | $this->flusher = $flusher; |
||
| 17 | } |
||
| 18 | |||
| 19 | /** |
||
| 20 | * {@inheritdoc} |
||
| 21 | */ |
||
| 22 | public function startQuery($sql, ?array $params = null, ?array $types = null): void |
||
| 27 | } |
||
| 28 | } |
||
| 29 | |||
| 30 | /** |
||
| 31 | * {@inheritdoc} |
||
| 32 | */ |
||
| 33 | public function stopQuery(): void |
||
| 37 |