| Total Complexity | 5 |
| Total Lines | 30 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 24 | final class ShowRaaContactInformationOption implements JsonSerializable |
||
| 25 | { |
||
| 26 | |||
| 27 | |||
| 28 | public static function getDefault(): self |
||
| 29 | { |
||
| 30 | return new self(true); |
||
| 31 | } |
||
| 32 | |||
| 33 | public function __construct( |
||
| 34 | private readonly bool $showRaaContactInformationOption |
||
| 35 | ) { |
||
| 36 | } |
||
| 37 | |||
| 38 | public function equals(ShowRaaContactInformationOption $other): bool |
||
| 39 | { |
||
| 40 | return $this->showRaaContactInformationOption === $other->showRaaContactInformationOption; |
||
| 41 | } |
||
| 42 | |||
| 43 | /** |
||
| 44 | * @return boolean |
||
| 45 | */ |
||
| 46 | public function isEnabled(): bool |
||
| 49 | } |
||
| 50 | |||
| 51 | public function jsonSerialize(): bool |
||
| 54 | } |
||
| 55 | } |
||
| 56 |