| Total Complexity | 4 | 
| Total Lines | 23 | 
| Duplicated Lines | 0 % | 
| Coverage | 100% | 
| Changes | 0 | ||
| 1 | <?php declare(strict_types=1);  | 
            ||
| 8 | final class LazyRunner implements Runner  | 
            ||
| 9 | { | 
            ||
| 10 | private $runner;  | 
            ||
| 11 | |||
| 12 | private $factory;  | 
            ||
| 13 | |||
| 14 | 7 | public function __construct(RunnerFactory $factory)  | 
            |
| 15 |     { | 
            ||
| 16 | 7 | $this->factory = $factory;  | 
            |
| 17 | }  | 
            ||
| 18 | |||
| 19 | 3 | public function run(Command $command): int  | 
            |
| 20 |     { | 
            ||
| 21 | 3 | return $this->runner()->run($command);  | 
            |
| 22 | }  | 
            ||
| 23 | |||
| 24 | 3 | private function runner(): Runner  | 
            |
| 31 | }  | 
            ||
| 32 | }  | 
            ||
| 33 |