public function __construct(
string $method = '',
string $url = '',
string $hostname = '',
string $protocol = ''
)
Constructor.
public function get(
string $name,
string $type = ''
)
Get a request argument, optionally coerced into a type.
public function getAll(): object
Get all request arguments.
public function getFullUrl(): string
Get the complete URL of this request.
public function getMethod(): string
Get the HTTP method of this request.
public function getCallbackFunction(): string
Get the JS callback function.
public function getRouteStatus(): int
Get route status.
public function set(
string $name,
$value
): void
Set a request argument.
public function setAll(array $args): void
Set all request arguments.
public function setRouteStatus(int $status): void
Set route status.
public function getRouteOption(string $name)
Get route options.
public function getRouteOptions(): object
Get all route options.
public function setRouteOption(
string $name,
$value
): void
Set route option.