API Documentation (v0.9.0-alpha)

Avolutions\Http\Request

The Request class calls the Router to find the matching Route for the url invokes the corresponding controller action.

Properties

Property Visibility Type Description
$method public string The method of the request.
$parameters public array The variables from $_REQUEST.
$uri public string The uri of the request.

Methods

Method Visibility Description
__construct() public Creates a new Request object.

Property Details

$method

The method of the request.

public string $method
$parameters

The variables from $_REQUEST.

public array<string|int, mixed> $parameters = []
$uri

The uri of the request.

public string $uri

Method Details

__construct()

Creates a new Request object.

public __construct() : mixed