Skip to content
This repository has been archived by the owner on Jan 31, 2020. It is now read-only.

Commit

Permalink
Merge branch 'feature/188' into develop
Browse files Browse the repository at this point in the history
Close #188
  • Loading branch information
weierophinney committed Aug 14, 2017
2 parents 44b33cc + dc74517 commit 6ed3cbd
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,12 @@ All notable changes to this project will be documented in this file, in reverse
previously occur when one or the other was not set, but means an exception
will now be raised during instantiation (versus runtime during `isValid()`).

- [#188](https://github.com/zendframework/zend-validator/pull/188) updates the
`ConfigProvider` to alias the service name `ValidatorManager` to the class
`Zend\Validator\ValidatorPluginManager`, and now maps the the latter class to
the `ValidatorPluginManagerFactory`. Previously, we mapped the service name
directly to the factory. Usage should not change for anybody at this point.

### Deprecated

- Nothing.
Expand Down
5 changes: 4 additions & 1 deletion src/ConfigProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,11 @@ public function __invoke()
public function getDependencyConfig()
{
return [
'aliases' => [
'ValidatorManager' => ValidatorPluginManager::class,
],
'factories' => [
'ValidatorManager' => ValidatorPluginManagerFactory::class,
ValidatorPluginManager::class => ValidatorPluginManagerFactory::class,
],
];
}
Expand Down

0 comments on commit 6ed3cbd

Please sign in to comment.