| Total Complexity | 2 |
| Total Lines | 21 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 23 | class Membership extends Identity implements MutableInterface |
||
| 24 | { |
||
| 25 | public const ENTITY_NAME = "membership"; |
||
| 26 | |||
| 27 | protected Project $project; |
||
| 28 | protected ?User $user; |
||
| 29 | protected ?Group $group; |
||
| 30 | |||
| 31 | protected RepeatableIdCollection $roles; |
||
| 32 | |||
| 33 | public static function getRepositoryClass(): ?string |
||
| 34 | { |
||
| 35 | return Memberships::class; |
||
| 36 | } |
||
| 37 | |||
| 38 | public function getMutations(): array |
||
| 44 | ]; |
||
| 45 | } |
||
| 47 |