Chumper\Zipper\Zipper::delete PHP 메소드

delete() 공개 메소드

Deletes the archive file
public delete ( )
    public function delete()
    {
        if (!is_null($this->repository)) {
            $this->repository->close();
        }
        $this->file->delete($this->filePath);
        $this->filePath = "";
    }

Usage Example

예제 #1
0
 /**
  * Deletes the archive file
  *
  * @static 
  */
 public static function delete()
 {
     return \Chumper\Zipper\Zipper::delete();
 }