Fr3nch13/CakePHP Utilities

RequestFactory
in package
implements RequestFactoryInterface

Table of Contents

Interfaces

RequestFactoryInterface

Methods

createRequest()  : RequestInterface
Create a new request.

Methods

createRequest()

Create a new request.

public createRequest(string $method, mixed $uri) : RequestInterface
Parameters
$method : string

The HTTP method associated with the request.

$uri : mixed

The URI associated with the request. If the value is a string, the factory MUST create a UriInterface instance based on it.

Return values
RequestInterface

        
On this page

Search results