Zend\Validator\Ip::setOptions
Sets the options for this validator
Signature
public function setOptions(array
$options )
Parameters
$options
— array
Returns
- AbstractValidator
Errors/Exceptions
-
InvalidArgumentException
- If there is any kind of IP allowed or $options is not an array or Traversable.