Server IP : 66.29.132.124 / Your IP : 18.117.168.40 Web Server : LiteSpeed System : Linux business141.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : wavevlvu ( 1524) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/wavevlvu/book24.ng/vendor/php-http/message/src/StreamFactory/ |
Upload File : |
<?php namespace Http\Message\StreamFactory; use GuzzleHttp\Psr7\Utils; use Http\Message\StreamFactory; /** * Creates Guzzle streams. * * @author Михаил Красильников <m.krasilnikov@yandex.ru> * * @deprecated This will be removed in php-http/message2.0. Consider using the official Guzzle PSR-17 factory */ final class GuzzleStreamFactory implements StreamFactory { /** * {@inheritdoc} */ public function createStream($body = null) { if (class_exists(Utils::class)) { return Utils::streamFor($body); } return \GuzzleHttp\Psr7\stream_for($body); } }