1 | <?php |
||
30 | class EnforcementState implements JsonSerializable { |
||
31 | |||
32 | /** @var bool */ |
||
33 | private $enforced; |
||
34 | |||
35 | /** @var array */ |
||
36 | private $enforcedGroups; |
||
37 | |||
38 | /** @var array */ |
||
39 | private $excludedGroups; |
||
40 | |||
41 | /** |
||
42 | * EnforcementState constructor. |
||
43 | * |
||
44 | * @param bool $enforced |
||
45 | * @param string[] $enforcedGroups |
||
46 | * @param string[] $excludedGroups |
||
47 | */ |
||
48 | public function __construct(bool $enforced, |
||
55 | |||
56 | /** |
||
57 | * @return string[] |
||
58 | */ |
||
59 | public function isEnforced(): bool { |
||
62 | |||
63 | /** |
||
64 | * @return string[] |
||
65 | */ |
||
66 | public function getEnforcedGroups(): array { |
||
69 | |||
70 | /** |
||
71 | * @return string[] |
||
72 | */ |
||
73 | public function getExcludedGroups(): array { |
||
76 | |||
77 | public function jsonSerialize(): array { |
||
84 | |||
85 | } |
||
86 |