Chumper\Zipper\Zipper::zip PHP Method

zip() public method

Create a new zip archive or open an existing one
public zip ( $pathToFile )
$pathToFile
    public function zip($pathToFile)
    {
        $this->make($pathToFile);
        return $this;
    }

Usage Example

Beispiel #1
0
 /**
  * Create a new zip archive or open an existing one
  *
  * @param $pathToFile
  * @return $this 
  * @static 
  */
 public static function zip($pathToFile)
 {
     return \Chumper\Zipper\Zipper::zip($pathToFile);
 }
All Usage Examples Of Chumper\Zipper\Zipper::zip