/var/www/vhosts/ihelp.ro/httpdocs/vendor/maennchen/zipstream-php/guides
NameSizeModeActions
ContentLength.rst13720644editdlrm
FlySystem.rst10800644editdlrm
index.rst40240644editdlrm
Nginx.rst5590644editdlrm
Options.rst22240644editdlrm
PSR7Streams.rst5380644editdlrm
StreamOutput.rst8240644editdlrm
Symfony.rst46630644editdlrm
Varnish.rst6470644editdlrm
Edit: /var/www/vhosts/ihelp.ro/httpdocs/vendor/maennchen/zipstream-php/guides/PSR7Streams.rst (538B)
Usage with PSR 7 Streams =============== PSR-7 streams are `standardized streams `_. 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, );