zendframework / zend-servicemanager-di

zend-di <-> zend-servicemanager integration
BSD 3-Clause "New" or "Revised" License
6 stars 11 forks source link

do not work #6

Closed bupy7 closed 5 years ago

bupy7 commented 8 years ago

Example application: https://github.com/bupy7/zf3-sm-di

zend-servicemanager-di is not work.

Download application and run the application: composer serve

Error list: 1) Create new instance of controller via DI: http://localhost::8080 - ERROR 2) Create new instance of service via DI: http://localhost:8080/testservice - ERROR 3) Invalid class name for Container Interop. You can see my fix in Application/Module:19-21 line 4) Zend\ServiceManager\Di\DiAbstractServiceFactory was initialized double. Screenshot var_dump https://drive.google.com/open?id=0B9GZdWo-fVk0SkxGemo3Z1dzMUk . Code in Application/Module.

In ZF2 it all worked.

Xerkus commented 5 years ago

Obsolete issue fixed by #3