permissionsGroups = new ArrayCollection(); } public function getId(): ?int { return $this->id; } public function getRole(): ?string { return $this->role; } public function getScope(): ?Scope { return $this->scope; } public function setRole(?string $role = null): self { $this->role = $role; return $this; } public function setScope(?Scope $scope = null): self { $this->scope = $scope; return $this; } }