File "RequestFactoryInterface.php"
Full path: /home/andyrdhboardrevi/public_html/learn.andyrdhboardreview.com/vendor/psr/http-factory/src/RequestFactoryInterface.php
File size: 499 B
MIME-type: text/x-php
Charset: utf-8
Download Open Edit Advanced Edit Back
<?php
namespace Psr\Http\Message;
interface RequestFactoryInterface
{
/**
* Create a new request.
*
* @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.
*
* @return RequestInterface
*/
public function createRequest(string $method, $uri): RequestInterface;
}