PluginProbe
WPIDE – File Manager & Code Editor / 3.1
WPIDE – File Manager & Code Editor v3.1
3.5.8 3.5.7 2.0.14 2.0.15 2.0.16 2.0.2 2.0.4 2.0.5 2.0.6 2.0.7 2.0.8 2.0.9 2.1 2.2 2.3 2.3.1 2.3.2 2.4.0 2.5 2.6 3.0 3.1 3.2 3.3 3.4 All 54 releases
wpide / App / Services / Archiver / ArchiverInterface.php

ArchiverInterface.php in WPIDE – File Manager & Code Editor 3.1, at App/Services/Archiver/ArchiverInterface.php

25 lines 673 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 namespace WPIDE\App\Services\Archiver;
4
5 use WPIDE\App\Services\Storage\Filesystem;
6
7 interface ArchiverInterface
8 {
9 public function createArchive(Filesystem $storage): string;
10
11 public function setArchive(Filesystem $storage, string $uniqid);
12
13 public function uncompress(string $source, string $destination, Filesystem $storage);
14
15 public function addEmptyDirectory(string $path, string $destination);
16
17 public function addDirectoryFromStorage(string $path, string $destination);
18
19 public function addFileFromStorage(string $path, string $destination);
20
21 public function closeArchive();
22
23 public function storeArchive($destination, $name);
24 }
25