1 | <?php |
||
19 | class Whitelist |
||
20 | { |
||
21 | private $value; |
||
22 | private $reason; |
||
23 | private $type; |
||
24 | private $createdAt; |
||
25 | |||
26 | private function __construct() |
||
29 | |||
30 | public static function create(array $data): self |
||
40 | |||
41 | public function getValue(): ?string |
||
45 | |||
46 | public function getReason(): ?string |
||
50 | |||
51 | public function getType(): ?string |
||
55 | |||
56 | public function getCreatedAt(): ?DateTimeImmutable |
||
60 | } |
||
61 |