name = $name; $this->user = $user; } public function getTrashBox(): ?TrashBox { return $this->trashBox; } public function setTrashBox(?TrashBox $trashBox): self { $this->trashBox = $trashBox; return $this; } public function getUser(): CustomUserInterface { return $this->user; } public function setUser(?User $user): self { $this->user = $user; return $this; } }