name = $_name; $this->parentDirectory = $_parentDirectory; $this->parentBox = $_box; } public function getPreviousParentFolder(): FolderItemInterface { return $this->previousParentFolder; } public function setPreviousParentFolder(?self $previousParentFolder): self { $this->previousParentFolder = $previousParentFolder; return $this; } public function getParentDirectory(): ?FolderItemInterface { return $this->parentDirectory; } public function setParentDirectory(?FolderItemInterface $parent): self { $this->parentDirectory = $parent; return $this; } public function getParentBox(): Box { return $this->parentBox; } public function setParentBox(?Box $parentBox): self { $this->parentBox = $parentBox; return $this; } }