interface RequestFactoryInterface
Hierarchy
- interface \Psr\Http\Message\RequestFactoryInterface
Expanded class hierarchy of RequestFactoryInterface
All classes that implement RequestFactoryInterface
13 files declare their use of RequestFactoryInterface
- CommonClassesStrategy.php in vendor/
php-http/ discovery/ src/ Strategy/ CommonClassesStrategy.php - CommonPsr17ClassesStrategy.php in vendor/
php-http/ discovery/ src/ Strategy/ CommonPsr17ClassesStrategy.php - DependencyResolver.php in vendor/
open-telemetry/ sdk/ Common/ Adapter/ HttpDiscovery/ DependencyResolver.php - FactoryResolverInterface.php in vendor/
open-telemetry/ sdk/ Common/ Http/ Psr/ Message/ FactoryResolverInterface.php - HttpFactory.php in vendor/
guzzlehttp/ psr7/ src/ HttpFactory.php
File
-
vendor/
psr/ http-factory/ src/ RequestFactoryInterface.php, line 5
Namespace
Psr\Http\MessageView source
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;
}
Members
Title Sort descending | Modifiers | Object type | Summary | Overrides |
---|---|---|---|---|
RequestFactoryInterface::createRequest | public | function | Create a new request. | 2 |