Pop\Archive\Adapter\Zip::extract PHP Метод

extract() публичный Метод

Method to extract an archived and/or compressed file
public extract ( string $to = null ) : void
$to string
Результат void
    public function extract($to = null)
    {
        if ($this->archive->open($this->path) === true) {
            $path = null !== $to ? realpath($to) : './';
            $this->archive->extractTo($path);
            $this->archive->close();
        }
    }