src/Compress.php
public function create($name)
    {
        $this->setArchiveName($name);
        $this->getArchiver()->open($this->getArchiveName(), \ZipArchive::CREATE | \ZipArchive::OVERWRITE);
        return $this;
    }
public function create($name)
    {
        $this->setArchiveName($name);
        $this->getArchiver()->open($this->getArchiveName(), \ZipArchive::CREATE | \ZipArchive::OVERWRITE);
        return $this;
    }
public function create ( $ name ) { $ this -> setArchiveName ( $ name ) ; $ this -> getArchiver ( ) -> open ( $ this -> getArchiveName ( ) , \ ZipArchive :: CREATE | \ ZipArchive :: OVERWRITE ) ; return $ this ; }
Starts the process of creating an archive

@param string $name
@return \mithra62\Compress
Starts the process of creating an archive