| Total Complexity | 7 |
| Total Lines | 45 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | final class DNSQueryFailed extends ObservableEventAbstract |
||
| 11 | { |
||
| 12 | public const NAME = 'dns.query.failed'; |
||
| 13 | |||
| 14 | public function __construct( |
||
| 21 | } |
||
| 22 | |||
| 23 | public function getResolver(): Resolver |
||
| 24 | { |
||
| 25 | return $this->resolver; |
||
| 26 | } |
||
| 27 | |||
| 28 | public function getHostName(): Hostname |
||
| 29 | { |
||
| 30 | return $this->hostname; |
||
| 31 | } |
||
| 32 | |||
| 33 | public function getRecordType(): DNSRecordType |
||
| 34 | { |
||
| 35 | return $this->recordType; |
||
| 36 | } |
||
| 37 | |||
| 38 | public function getError(): Exception |
||
| 41 | } |
||
| 42 | |||
| 43 | public static function getName(): string |
||
| 46 | } |
||
| 47 | |||
| 48 | public function toArray(): array |
||
| 49 | { |
||
| 58 |