Lines Matching refs:archive
110 $archive = $this->downloadArchive($url);
112 $archive,
144 * @param string $archive the path to the archive
148 public function installFromArchive($archive, $base = null) argument
150 $target = $this->mkTmpDir() . '/' . ($base ?? $this->fileToBase($archive));
151 $this->extractArchive($archive, $target);
496 protected function extractArchive($archive, $target) argument
498 $fh = fopen($archive, 'rb');
499 if (!$fh) throw new Exception('error_archive_read', [$archive]);
509 $archiver->open($archive);
512 throw new Exception('error_archive_extract', [$archive, $e->getMessage()], $e);