diff --git a/src/Module.php b/src/Module.php index ec2f96e74..05da76e37 100644 --- a/src/Module.php +++ b/src/Module.php @@ -35,7 +35,7 @@ public function init($event) $serviceListener->addServiceManager( 'ValidatorManager', 'validators', - 'Zend\ModuleManager\Feature\ValidatorProviderInterface', + ValidatorProviderInterface::class, 'getValidatorConfig' ); } diff --git a/src/ValidatorProviderInterface.php b/src/ValidatorProviderInterface.php new file mode 100644 index 000000000..fdf142eb0 --- /dev/null +++ b/src/ValidatorProviderInterface.php @@ -0,0 +1,19 @@ +