Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/CarnetApp/CarnetNextcloud.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/nelexa/zip/src/PhpZip/Stream/ZipOutputStreamInterface.php')
-rw-r--r--vendor/nelexa/zip/src/PhpZip/Stream/ZipOutputStreamInterface.php29
1 files changed, 29 insertions, 0 deletions
diff --git a/vendor/nelexa/zip/src/PhpZip/Stream/ZipOutputStreamInterface.php b/vendor/nelexa/zip/src/PhpZip/Stream/ZipOutputStreamInterface.php
new file mode 100644
index 0000000..57c397e
--- /dev/null
+++ b/vendor/nelexa/zip/src/PhpZip/Stream/ZipOutputStreamInterface.php
@@ -0,0 +1,29 @@
+<?php
+
+namespace PhpZip\Stream;
+
+use PhpZip\Model\ZipEntry;
+
+/**
+ * Write zip file
+ *
+ * @author Ne-Lexa alexey@nelexa.ru
+ * @license MIT
+ */
+interface ZipOutputStreamInterface
+{
+ /** Central File Header signature. */
+ const CENTRAL_FILE_HEADER_SIG = 0x02014B50;
+
+ public function writeZip();
+
+ /**
+ * @param ZipEntry $entry
+ */
+ public function writeEntry(ZipEntry $entry);
+
+ /**
+ * @return resource
+ */
+ public function getStream();
+}