source: vendor/psr/http-factory/src/RequestFactoryInterface.php@ e3d4e0a

Last change on this file since e3d4e0a was e3d4e0a, checked in by Vlado 222039 <vlado.popovski@…>, 7 days ago

Upload project files

  • Property mode set to 100644
File size: 499 bytes
Line 
1<?php
2
3namespace Psr\Http\Message;
4
5interface RequestFactoryInterface
6{
7 /**
8 * Create a new request.
9 *
10 * @param string $method The HTTP method associated with the request.
11 * @param UriInterface|string $uri The URI associated with the request. If
12 * the value is a string, the factory MUST create a UriInterface
13 * instance based on it.
14 *
15 * @return RequestInterface
16 */
17 public function createRequest(string $method, $uri): RequestInterface;
18}
Note: See TracBrowser for help on using the repository browser.