parentDirectory = $parentDir; } public function getId() { return $this->id; } public function setName($name) { $this->name = $name; } public function getName() { return $this->name; } public function getParent() { return $this->parentDirectory; } /** * @return bool */ public function getNodeIsLoaded() { return $this->nodeIsLoaded; } /** * @param bool $nodeIsLoaded */ public function setNodeIsLoaded($nodeIsLoaded) { $this->nodeIsLoaded = (bool) $nodeIsLoaded; } }