37 private $itemTreeBounds;
39 public function __construct(
ItemTreeBounds $itemTreeBounds, $parentId, $fileId,
42 $this->parentId = $parentId;
43 $this->fileId = $fileId;
44 $this->fileMode = $fileMode;
45 $this->fileName = $fileName;
46 $this->itemTreeBounds = $itemTreeBounds;
54 return $this->itemTreeBounds->getItemId();
62 return $this->parentId;
78 return $this->fileMode;
86 return $this->fileName;
94 return $this->itemTreeBounds;
118 return $this->itemTreeBounds->containsFiles();
126 return $this->parentId !== null;
129 function __toString()
131 return "Item(#" . $this->
getId() .
", '" . $this->fileName .
"')";