| Total Complexity | 3 | 
| Total Lines | 25 | 
| Duplicated Lines | 0 % | 
| Coverage | 100% | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php declare(strict_types=1); | ||
| 11 | class Factory | ||
| 12 | { | ||
| 13 | private EventFactory $eventFactory; | ||
| 14 | |||
| 15 | private LoggerInterface $logger; | ||
| 16 | |||
| 17 | 3 | public function __construct(EventFactory $eventFactory, LoggerInterface $logger) | |
| 21 | } | ||
| 22 | |||
| 23 | 2 | public function build(): Results | |
| 24 |     { | ||
| 25 | 2 | return new Results($this->eventFactory, $this->logger); | |
| 26 | 2 | } | |
| 27 | |||
| 28 | 2 | public function buildFromResponse(string $eventNamespace, Response $response): Promise | |
| 36 | }); | ||
| 37 | } | ||
| 39 |