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

zend-hydrator requires package zend-servicemanager #29

Closed
Danack opened this issue May 7, 2016 · 2 comments
Closed

zend-hydrator requires package zend-servicemanager #29

Danack opened this issue May 7, 2016 · 2 comments

Comments

@Danack
Copy link

Danack commented May 7, 2016

The dependency on zend-servicemanager is listed under 'dev dependencies' in the composer file.

However the HydratorPluginManager class extends a class from that package, and so gives the error:

Class 'Zend\ServiceManager\AbstractPluginManager' not found

If you attempt to use it without also having the service manager installed.

@Danack Danack changed the title zend-hydrator requires package zend-filter zend-hydrator requires package zend-filterservicemanager May 7, 2016
@Danack Danack changed the title zend-hydrator requires package zend-filterservicemanager zend-hydrator requires package zend-servicemanager May 7, 2016
@Danack
Copy link
Author

Danack commented May 7, 2016

hmm - apparently the docs at http://framework.zend.com/manual/current/en/modules/zend.stdlib.hydrator.html need updating also.

Doing new Zend\Hydrator\HydratorPluginManager now gives an error:

Zend\ServiceManager\AbstractPluginManager::__construct now expects a Interop\Container\ContainerInterface instance representing the parent container; please update your code

@samsonasik
Copy link

the doc you pointed is for zf 2.4 which not using zend-hydrator ( use zend\stdlib\hydrator ) instead.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants