Total Complexity | 3 |
Total Lines | 22 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
26 | class Group extends NamedIdentity implements MutableInterface |
||
27 | { |
||
28 | public const ENTITY_NAME = "group"; |
||
29 | |||
30 | protected RepeatableIdCollection $users; |
||
31 | protected IdentityCollection $memberships; |
||
32 | |||
33 | public function __construct(protected ?int $id = null, protected ?string $name = null) |
||
37 | } |
||
38 | |||
39 | public static function getRepositoryClass(): ?string |
||
42 | } |
||
43 | |||
44 | public function getMutations(): array |
||
51 |