RequestFactory Class

Aurora\Http\Factory Namespace

Interfaces

  • I RequestFactoryInterface

Methods

createRequest

Create a new request

Parameters

  • string $method — The HTTP method associated with the request
  • mixed $uri — The URI associated with the request

Return Value

  • \RequestInterface

Signature

public function createRequest(string $method, mixed $uri): Psr\Http\Message\RequestInterface

Go to top