Zend\Filter\Inflector::setRules
Is the same as calling addRules() with the exception that it clears the rules before adding them.
Signature
public function setRules(array
$rules )
Parameters
$rules
— array
Returns
- self