CoreFiles by mySites.guru
RequestFactory.php34 lines, 827 bytes, from Joomla_4.0.2-Stable-Full_Package.zip
Raw History Compare with 4.0.1
md5
051e2db3defcaa659dc0f499f98969ea
sha1
9bc7ca436c139c7bee1b291e5e2fff57017f1d50
sha256
370072c4a16edb2bb5c49cf8783f51248fa504e86a54fe3b5fce4486aa6fc8fc
<?php

namespace Http\Message;

use Psr\Http\Message\UriInterface;
use Psr\Http\Message\RequestInterface;
use Psr\Http\Message\StreamInterface;

/**
 * Factory for PSR-7 Request.
 *
 * @author Márk Sági-Kazár <[email protected]>
 */
interface RequestFactory
{
    /**
     * Creates a new PSR-7 request.
     *
     * @param string                               $method
     * @param string|UriInterface                  $uri
     * @param array                                $headers
     * @param resource|string|StreamInterface|null $body
     * @param string                               $protocolVersion
     *
     * @return RequestInterface
     */
    public function createRequest(
        $method,
        $uri,
        array $headers = [],
        $body = null,
        $protocolVersion = '1.1'
    );
}

The same content is in 94 releases, Joomla 4.0.0-beta to 4.3.4. See them all, or every version of this file.