Documentation

RequestParams
in package
implements RequestParamsInterface

Request params fetcher

Interfaces, Classes and Traits

RequestParamsInterface
Request params fetcher

Table of Contents

$router  : Router|null
Router of the transport
__construct()  : mixed
Constructor
getRouter()  : Router
Method returns router
wasSubmitted()  : bool
Method validates was the parameter submitted

Properties

Methods

__construct()

Constructor

public __construct(Router|null &$router) : mixed
Parameters
$router : Router|null

Router object

Return values
mixed

wasSubmitted()

Method validates was the parameter submitted

public wasSubmitted(string $param) : bool
Parameters
$param : string

parameter name

Tags
see
RequestParamsInterface::wasSubmitted()
Return values
bool

true if the parameter was submitted

Search results