| Total Complexity | 2 |
| Total Lines | 29 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 2 | ||
| Bugs | 1 | Features | 1 |
| 1 | <?php |
||
| 20 | class TransportLoggingDecorator implements TransportInterface |
||
| 21 | { |
||
| 22 | private TransportInterface $decorated; |
||
| 23 | |||
| 24 | private LoggerInterface $logger; |
||
| 25 | |||
| 26 | public function __construct(TransportInterface $decorated, LoggerInterface $logger) |
||
| 27 | { |
||
| 28 | 8 | $this->decorated = $decorated; |
|
| 29 | $this->logger = $logger; |
||
| 30 | 8 | } |
|
| 31 | 8 | ||
| 32 | 8 | public function send(string $request): string |
|
| 49 | } |
||
| 50 | } |
||
| 51 |