Param implements Errorable uses ErrorableImplementation
Table of Contents
Interfaces
- Errorable
Constants
- ERROR_REQUIRED_PARAMETERS_MISSING = "ERROR_REQUIRED_PARAMETERS_MISSING"
Methods
- __construct() : mixed
- checkRequiredInputParams() : mixed
- Checks required input parameters.
- getParams() : array<string|int, mixed>
- Returns parameters after necessary processing.
- setParam() : mixed
- Adds a parameter to an array of parameters.
Constants
ERROR_REQUIRED_PARAMETERS_MISSING
public
mixed
ERROR_REQUIRED_PARAMETERS_MISSING
= "ERROR_REQUIRED_PARAMETERS_MISSING"
Methods
__construct()
public
__construct(array<string|int, mixed> $params) : mixed
Parameters
- $params : array<string|int, mixed>
checkRequiredInputParams()
Checks required input parameters.
public
checkRequiredInputParams(array<string|int, mixed> $requiredInputParams) : mixed
Parameters
- $requiredInputParams : array<string|int, mixed>
-
List of keys that are required in the input parameters.
getParams()
Returns parameters after necessary processing.
public
getParams() : array<string|int, mixed>
Return values
array<string|int, mixed>setParam()
Adds a parameter to an array of parameters.
public
setParam(array<string|int, mixed> $params) : mixed
Parameters
- $params : array<string|int, mixed>