CoreFiles by mySites.guru
ServerRequestFactoryInterface.php24 lines, 958 bytes, from wordpress-7.2-beta5.zip
Raw History Compare with 7.2-beta4
md5
2941de2f6ef4905af50e14edb5930830
sha1
948d92515ede211ed1e39dae4d382dbfbc5871e4
sha256
828f68e323eae130345332cd99087542395f01bbcfbedc8f4c9ae7265ae61fd3
<?php

namespace WordPress\AiClientDependencies\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 44 releases, WordPress 7.0-beta1 to 7.2-RC2. See them all, or every version of this file.