2021. Class

2021.1. Zend\Validator\ValidatorPluginManager

2021.1.1. Methods

2021.1.1.1. __construct

__construct()

Constructor

After invoking parent constructor, add an initializer to inject the attached translator, if any, to the currently requested helper.

Parameters:null|ConfigInterface

2021.1.1.2. injectTranslator

injectTranslator()

Inject a validator instance with the registered translator

Parameters:ValidatorInterface
Return type:void

2021.1.1.3. validatePlugin

validatePlugin()

Validate the plugin

Checks that the validator loaded is an instance of ValidatorInterface.

Parameters:mixed
Return type:void
Throws :ExceptionRuntimeException if invalid

Project Versions

Table Of Contents

Previous topic

2019. Function

Next topic

2022. Class

This Page