Chumper\Zipper\Zipper::phar PHP Méthode

phar() public méthode

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

Usage Example

Exemple #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);
 }