| Total Complexity | 3 |
| Total Lines | 24 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 23 | class WhitelistReplacedEvent implements WhitelistEvent |
||
| 24 | { |
||
| 25 | public function __construct(public InstitutionCollection $whitelistedInstitutions) |
||
| 26 | { |
||
| 27 | } |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @param array $data |
||
| 31 | * @return WhitelistReplacedEvent |
||
| 32 | */ |
||
| 33 | public static function deserialize(array $data): self |
||
| 36 | } |
||
| 37 | |||
| 38 | |||
| 39 | /** |
||
| 40 | * The data ending up in the event_stream, be careful not to include sensitive data here! |
||
| 41 | * |
||
| 42 | * @return array<string, mixed> |
||
| 43 | */ |
||
| 44 | public function serialize(): array |
||
| 49 |