| Total Complexity | 4 |
| Total Lines | 30 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 0 | ||
| 1 | <?php |
||
| 9 | class DebugDecorator implements ProcessInterface |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * @var ProcessInterface |
||
| 13 | */ |
||
| 14 | private $process; |
||
| 15 | |||
| 16 | public function __construct(ProcessInterface $process) |
||
| 17 | { |
||
| 18 | $this->process = $process; |
||
| 19 | } |
||
| 20 | |||
| 21 | public function close(): bool |
||
| 22 | { |
||
| 23 | echo sprintf("%s()\n", __METHOD__); |
||
| 24 | return $this->process->close(); |
||
| 25 | } |
||
| 26 | |||
| 27 | public function recv(): string |
||
| 32 | } |
||
| 33 | |||
| 34 | public function send(string $data) |
||
| 39 | } |
||
| 40 | } |
||
| 41 |