PHP 8.2.30
Preview: StreamFactory.php Size: 646 B
/home/byroehnu/easetack.com/vendor/php-http/message-factory/src/StreamFactory.php

<?php

namespace Http\Message;

use Psr\Http\Message\StreamInterface;

/**
 * Factory for PSR-7 Stream.
 *
 * @author Márk Sági-Kazár <mark.sagikazar@gmail.com>
 *
 * @deprecated since version 1.1, use Psr\Http\Message\StreamFactoryInterface instead.
 */
interface StreamFactory
{
    /**
     * Creates a new PSR-7 stream.
     *
     * @param string|resource|StreamInterface|null $body
     *
     * @return StreamInterface
     *
     * @throws \InvalidArgumentException if the stream body is invalid
     * @throws \RuntimeException         if creating the stream from $body fails
     */
    public function createStream($body = null);
}

Directory Contents

Dirs: 0 × Files: 5

Name Size Perms Modified Actions
349 B lrw-rw-rw- 2023-04-14 14:16:17
Edit Download
918 B lrw-rw-rw- 2023-04-14 14:16:17
Edit Download
1012 B lrw-rw-rw- 2023-04-14 14:16:17
Edit Download
646 B lrw-rw-rw- 2023-04-14 14:16:17
Edit Download
544 B lrw-rw-rw- 2023-04-14 14:16:17
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).