You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
499 B
18 lines
499 B
<?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;
|
|
}
|
|
|