function appendContent($path, $cont) { $this->check($path, Permission::WRITE); $filename = $this->resolve($path); $this->mkdir(PathUtil::up($path)); $handle = fopen($filename, "a"); $contents = fwrite($handle, $cont); fclose($handle); }
public function up() { return $this->resolve(PathUtil::up($this->path())); }