CoreFiles by mySites.guru
ServerRequestFactoryInterface.php24 lines, 927 bytes, from Joomla_4.0.0-alpha10-Alpha-Full_Package.zip
Raw History Compare with 4.0.0-alpha9
md5
065ac773fea026930f73bfd1f0dfa143
sha1
888aac3e083214fbf7138a8c1b899c5e38e69f07
sha256
8584390af1bc3c624918525e725a7cfa639366c15bb7a3c7c065d04d8a20703b
<?php

namespace Psr\Http\Message;

interface ServerRequestFactoryInterface
{
    /**
     * Create a new server request.
     *
     * Note that server-params are taken precisely as given - no parsing/processing
     * of the given values is performed, and, in particular, no attempt is made to
     * determine the HTTP method or URI, which must be provided explicitly.
     *
     * @param string $method The HTTP method associated with the request.
     * @param UriInterface|string $uri The URI associated with the request. If
     *     the value is a string, the factory MUST create a UriInterface
     *     instance based on it.
     * @param array $serverParams Array of SAPI parameters with which to seed
     *     the generated request instance.
     *
     * @return ServerRequestInterface
     */
    public function createServerRequest(string $method, $uri, array $serverParams = []): ServerRequestInterface;
}

The same content is in 292 releases, Joomla 4.0.0-alpha10 to 6.3.0-alpha1. See them all, or every version of this file.