| Total Complexity | 2 |
| Total Lines | 33 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 14 | class LogOperationVisitor implements OperationVisitorInterface |
||
| 15 | { |
||
| 16 | /** @var LoggerInterface */ |
||
| 17 | private $logger; |
||
| 18 | |||
| 19 | /** @var OperationFormatterInterface */ |
||
| 20 | private $formatter; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * Constructor. |
||
| 24 | * |
||
| 25 | * @param LoggerInterface $logger |
||
| 26 | * @param OperationFormatterInterface $formatter |
||
| 27 | */ |
||
| 28 | 1 | public function __construct( |
|
| 34 | 1 | } |
|
| 35 | |||
| 36 | /** |
||
| 37 | * Visit the given operation. |
||
| 38 | * |
||
| 39 | * @param OperationInterface $operation |
||
| 40 | * |
||
| 41 | * @return void |
||
| 42 | */ |
||
| 43 | 1 | public function __invoke(OperationInterface $operation): void |
|
| 50 |