Zend\InputFilter\BaseInputFilter::setValidationGroup
Provide a list of one or more elements indicating the complete set to validate
When provided, calls to will only validate the provided set. If the initial value is , the current validation group, if any, should be cleared. Implementations should allow passing a single array value, or multiple arguments, each specifying a single input.
Signature
public function setValidationGroup(mixed
$name )
Parameters
$name
— mixed
Returns
- InputFilterInterface