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

Commit 929cf63

Browse files
committed
Merge pull request #188 from boesing/validator-plugin-manager-factory
ValidatorManager as alias instead of factory identifier
2 parents 44b33cc + d67f2d4 commit 929cf63

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/ConfigProvider.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,10 @@ public function getDependencyConfig()
3030
{
3131
return [
3232
'factories' => [
33-
'ValidatorManager' => ValidatorPluginManagerFactory::class,
33+
ValidatorPluginManager::class => ValidatorPluginManagerFactory::class,
34+
],
35+
'aliases' => [
36+
'ValidatorManager' => ValidatorPluginManager::class,
3437
],
3538
];
3639
}

0 commit comments

Comments
 (0)