| 1 | <?php declare(strict_types=1); |
||
| 16 | class DefaultCallback implements CallbackInterface |
||
| 17 | { |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @var \Psr\Log\LoggerInterface |
||
| 21 | */ |
||
| 22 | protected $logger; |
||
| 23 | |||
| 24 | 2 | public function __construct(LoggerInterface $logger) |
|
| 28 | |||
| 29 | /** |
||
| 30 | * @inheritDoc |
||
| 31 | */ |
||
| 32 | 1 | public function process(Result $result): void |
|
| 36 | |||
| 37 | /** |
||
| 38 | * @inheritDoc |
||
| 39 | */ |
||
| 40 | 1 | public function handleError(Request $request, \Exception $exception) : void |
|
| 44 | } |
||
| 45 |