Pagekit\Installer\SelfUpdater::extract PHP Метод

extract() защищенный Метод

Extracts an archive.
protected extract ( $file, $fileList, $path )
$file
$fileList
$path
    protected function extract($file, $fileList, $path)
    {
        $zip = new \ZipArchive();
        if ($zip->open($file) === true) {
            $zip->extractTo($path, $fileList);
            $zip->close();
        } else {
            throw new \RuntimeException('Package extraction failed.');
        }
    }