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

Commit 5557167

Browse files
committed
Use the HydratorPluginManager from zend-stdlib
For backwards compatibility. Essentially reverts #30, but requires zend-stdlib 2.7.5 or higher to ensure backwards compat.
1 parent eed620c commit 5557167

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"zendframework/zend-servicemanager": "~2.5",
1919
"zendframework/zend-hydrator": "~1.0",
2020
"zendframework/zend-form": "~2.6",
21-
"zendframework/zend-stdlib": "~2.7"
21+
"zendframework/zend-stdlib": "^2.7.5"
2222
},
2323
"require-dev": {
2424
"zendframework/zend-authentication": "~2.5",

src/Service/HydratorManagerFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@
1111

1212
class HydratorManagerFactory extends AbstractPluginManagerFactory
1313
{
14-
const PLUGIN_MANAGER_CLASS = 'Zend\Hydrator\HydratorPluginManager';
14+
const PLUGIN_MANAGER_CLASS = 'Zend\Stdlib\Hydrator\HydratorPluginManager';
1515
}

0 commit comments

Comments
 (0)