# wpide/3.5.9/App/Services/Archiver/ArchiverInterface.php

WPIDE – File Manager &amp; Code Editor, version 3.5.9. 25 lines.

- Page: https://pluginprobe.com/plugins/wpide/3.5.9/code/App/Services/Archiver/ArchiverInterface.php
- Raw: https://pluginprobe.com/plugins/wpide/3.5.9/raw/App/Services/Archiver/ArchiverInterface.php
- Modified: 2022-07-30T20:33:10+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/wpide/3.5.9/code/App/Services/Archiver/ArchiverInterface.php#L10-L20`.

```php
<?php

namespace WPIDE\App\Services\Archiver;

use WPIDE\App\Services\Storage\Filesystem;

interface ArchiverInterface
{
    public function createArchive(Filesystem $storage): string;

    public function setArchive(Filesystem $storage, string $uniqid);

    public function uncompress(string $source, string $destination, Filesystem $storage);

    public function addEmptyDirectory(string $path, string $destination);

    public function addDirectoryFromStorage(string $path, string $destination);

    public function addFileFromStorage(string $path, string $destination);

    public function closeArchive();

    public function storeArchive($destination, $name);
}

```
