deleted = false; } public function getDomain(): ?Domain { return $this->domain; } public function setDomain(?Domain $domain): static { $this->domain = $domain; return $this; } public function getEntity(): ?Entity { return $this->entity; } public function setEntity(?Entity $entity): static { $this->entity = $entity; return $this; } /** * @return DomainRole[] */ public function getRoles(): array { return $this->roles; } public function setRoles(array $roles): static { $this->roles = $roles; return $this; } public function getDeleted(): ?bool { return $this->deleted; } public function setDeleted(?bool $deleted): static { $this->deleted = $deleted; return $this; } }