moveToTrashBin = true; $this->node = $node; } /** * get Node which will be deleted * * @return Node */ public function getNode() { return $this->node; } /** * disable trash bin for this operation */ public function disableTrashBin() { $this->moveToTrashBin = false; } /** * should the file be moved to the trash bin? * * @return bool */ public function shouldMoveToTrashBin() { return $this->moveToTrashBin; } }