A command object encapsulates the input parameters used to control the creation of a HTTP request and processing of a HTTP response.
Using the toArray() method will return the input parameters of the command as an associative array.
Table of Contents MethodsGet the handler list used to transfer the command.
public getHandlerList() : HandlerList
Return valuesHandlerList getName()
Get the name of the command
public getName() : string
Return valuesstring hasParam()
Check if the command has a parameter by name.
public hasParam(string $name) : bool
Parameters
Name of the parameter to check
Converts the command parameters to an array
public toArray() : array<string|int, mixed>
Return valuesarray<string|int, mixed>
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4