Files
4WDCSA.co.za/vendor/psr/http-factory/src/RequestFactoryInterface.php
Local Administrator b83134aca3 Initial commit
2025-04-18 10:32:42 +02:00

19 lines
499 B
PHP

<?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;
}