/
home
/
techb158
/
immovalet.com
/
platform
/
core
/
media
/
src
/
Supports
/
/home/techb158/immovalet.com/platform/core/media/src/Supports
mkdir
upload
Name
Size
Mode
Actions
Zipper.php
5217
0644
edit
dl
rm
ZipperInterface.php
890
0644
edit
dl
rm
ZipRepository.php
2321
0644
edit
dl
rm
Edit:
/home/techb158/immovalet.com/platform/core/media/src/Supports/ZipperInterface.php
(890B)
<?php namespace Botble\Media\Supports; /** * RepositoryInterface that needs to be implemented by every Repository * * Class RepositoryInterface */ interface ZipperInterface { /** * Construct with a given path * * @param string $filePath * @param bool $new * @param $archiveImplementation */ public function __construct($filePath, $new = false, $archiveImplementation = null); /** * Add a file to the opened Archive * * @param string $pathToFile * @param string $pathInArchive */ public function addFile($pathToFile, $pathInArchive); /** * Add a file to the opened Archive using its contents * * @param string $name * @param string $content */ public function addFromString($name, $content); /** * Closes the archive and saves it */ public function close(); }
Save
cmd:
run