Chumper\Zipper\Zipper::phar PHP Method

phar() public method

Create a new phar file or open one
public phar ( $pathToFile )
$pathToFile
    public function phar($pathToFile)
    {
        $this->make($pathToFile, 'phar');
        return $this;
    }

Usage Example

Beispiel #1
0
 /**
  * Create a new phar file or open one
  *
  * @param $pathToFile
  * @return $this 
  * @static 
  */
 public static function phar($pathToFile)
 {
     return \Chumper\Zipper\Zipper::phar($pathToFile);
 }