Ntb\RestAPI\RestValidatorHelper::validate_string
Signature
public function validate_string(array
$data,
string
$field,
[array
$options = ] )
Parameters
$data
— array- the data from the request
$field
— string- the field, that should be checked
$options
— array
Returns
- string