| Total Complexity | 3 |
| Total Lines | 17 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 7 | class LoggerInterfaceQueryLogger implements QueryLogger { |
||
| 8 | public function __construct( |
||
| 9 | private LoggerInterface $logger |
||
| 10 | ) {} |
||
| 11 | |||
| 12 | /** |
||
| 13 | * @inheritDoc |
||
| 14 | */ |
||
| 15 | public function log(string $query, float $duration): void { |
||
| 17 | } |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @inheritDoc |
||
| 21 | */ |
||
| 22 | public function logError(string $query, Throwable $exception, float $duration): void { |
||
| 24 | } |
||
| 25 | } |
||
| 26 |