Zend\Validator\ValidatorChain::plugin
Retrieve a validator by name
Signature
public function plugin(string
$name,
[array
$options = null] )
Parameters
$name
— string- Name of validator to return
$options
— array- Options to pass to validator constructor (if not already instantiated)
Returns
- ValidatorInterface