validateInput()
validateInput(string $caller, mixed $input) : mixed
Validates and normalizes a Process input.
Parameters
string | $caller | The name of method call that validates the input |
mixed | $input | The input to validate |
Throws
- \Symfony\Component\Process\Exception\InvalidArgumentException
In case the input is not valid
Returns
mixed —The validated input