Closed bupy7 closed 5 years ago
Example application: https://github.com/bupy7/zf3-sm-di
zend-servicemanager-di is not work.
zend-servicemanager-di
Download application and run the application: composer serve
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.
Zend\ServiceManager\Di\DiAbstractServiceFactory
var_dump
Application/Module
In ZF2 it all worked.
Obsolete issue fixed by #3
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. Screenshotvar_dump
https://drive.google.com/open?id=0B9GZdWo-fVk0SkxGemo3Z1dzMUk . Code inApplication/Module
.In ZF2 it all worked.