initial commit

This commit is contained in:
Milos Stojanovic
2019-06-13 18:52:40 +02:00
commit 261607e1d3
160 changed files with 41704 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
<?php
/*
* This file is part of the FileGator package.
*
* (c) Milos Stojanovic <alcalbg@gmail.com>
*
* For the full copyright and license information, please view the LICENSE file
*/
namespace Filegator\Services\Archiver;
use Filegator\Services\Storage\Filesystem;
interface ArchiverInterface
{
public function createArchive(Filesystem $storage): string;
public function uncompress(string $source, string $destination, Filesystem $storage);
public function addDirectoryFromStorage(string $path);
public function addFileFromStorage(string $path);
public function closeArchive();
public function storeArchive($destination, $name);
}