示例#1
0
 /**
  * Delete a file on the share
  *
  * @param string $path
  * @return bool
  *
  * @throws \Icewind\SMB\Exception\NotFoundException
  * @throws \Icewind\SMB\Exception\InvalidTypeException
  */
 public function del($path)
 {
     $this->connect();
     return $this->state->unlink($this->buildUrl($path));
 }
示例#2
0
 /**
  * Delete a file on the share
  *
  * @param string $path
  * @return bool
  *
  * @throws \Icewind\SMB\Exception\NotFoundException
  * @throws \Icewind\SMB\Exception\InvalidTypeException
  */
 public function del($path)
 {
     return $this->state->unlink($this->buildUrl($path));
 }