PluginDataPropertiesParametersValidator
extends ParametersValidator
in package
This is the plugin data parameters validation class.
Tags
Table of Contents
REQUIRED_PARAMS | = ['action'] | |
---|---|---|
$action | : string | |
$data | : array<string|int, mixed> | |
validateAction() | : bool|null | |
validateData() | : bool|null |
Constants
REQUIRED_PARAMS
protected
mixed
REQUIRED_PARAMS
= ['action']
Properties
$action
protected
string
$action
$data
protected
array<string|int, mixed>
$data
Methods
validateAction()
protected
validateAction(mixed $action) : bool|null
Parameters
- $action : mixed
Return values
bool|null —validateData()
protected
validateData(mixed $data) : bool|null
Parameters
- $data : mixed