public function append($path, $contents) { try { $this->fs->update($path, $this->fs->read($path) . $contents); return; } catch (Error $ex) { } catch (Exception $ex) { } throw new WriteException("File {$path} could not be appeneded.", $ex); }