aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/maennchen/zipstream-php/guides/PSR7Streams.rst
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/maennchen/zipstream-php/guides/PSR7Streams.rst')
-rw-r--r--vendor/maennchen/zipstream-php/guides/PSR7Streams.rst21
1 files changed, 0 insertions, 21 deletions
diff --git a/vendor/maennchen/zipstream-php/guides/PSR7Streams.rst b/vendor/maennchen/zipstream-php/guides/PSR7Streams.rst
deleted file mode 100644
index 22af71d4a..000000000
--- a/vendor/maennchen/zipstream-php/guides/PSR7Streams.rst
+++ /dev/null
@@ -1,21 +0,0 @@
-Usage with PSR 7 Streams
-===============
-
-PSR-7 streams are `standardized streams <https://www.php-fig.org/psr/psr-7/>`_.
-
-ZipStream-PHP supports working with these streams with the function
-``addFileFromPsr7Stream``.
-
-For all parameters of the function see the API documentation.
-
-Example
----------------
-
-.. code-block:: php
-
- $stream = $response->getBody();
- // add a file named 'streamfile.txt' from the content of the stream
- $zip->addFileFromPsr7Stream(
- fileName: 'streamfile.txt',
- stream: $stream,
- );