| Total Complexity | 4 |
| Total Lines | 30 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 15 | class DomainKeyReaderService |
||
| 16 | { |
||
| 17 | private DNSResolver $resolver; |
||
| 18 | |||
| 19 | public function __construct(DNSResolver $resolver) |
||
| 20 | { |
||
| 21 | $this->resolver = $resolver; |
||
| 22 | } |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @throws DomainKeyNotFoundException |
||
| 26 | */ |
||
| 27 | public function getDomainKey(string $domain, string $selector): array |
||
| 45 | } |
||
| 46 | } |
||
| 47 |