| Total Complexity | 5 |
| Total Lines | 33 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 13 | class DKIMStatus |
||
| 14 | { |
||
| 15 | private bool $dkimEnabled; |
||
| 16 | private bool $dkimRecordFound; |
||
| 17 | private bool $dkimRecordValid; |
||
| 18 | private string $currentRecord; |
||
| 19 | |||
| 20 | public function __construct(bool $dkimEnabled, bool $dkimRecordFound, bool $dkimRecordValid, string $currentRecord) |
||
| 21 | { |
||
| 22 | $this->dkimEnabled = $dkimEnabled; |
||
| 23 | $this->dkimRecordFound = $dkimRecordFound; |
||
| 24 | $this->dkimRecordValid = $dkimRecordValid; |
||
| 25 | $this->currentRecord = $currentRecord; |
||
| 26 | } |
||
| 27 | |||
| 28 | public function isDkimEnabled(): bool |
||
| 29 | { |
||
| 30 | return $this->dkimEnabled; |
||
| 31 | } |
||
| 32 | |||
| 33 | public function isDkimRecordFound(): bool |
||
| 36 | } |
||
| 37 | |||
| 38 | public function isDkimRecordValid(): bool |
||
| 41 | } |
||
| 42 | |||
| 43 | public function getCurrentRecord(): string |
||
| 48 |