You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 29, 2020. It is now read-only.
It should create a service of RVMvp\Db\Adapter\Adapter but keep creating Zend\Db\Adapter\Adapter.
This is happening because the invokable method is calling directly the Zend\Db\Adapter\Adapter instead of the requested name provided on createService method:
I created my own
Db\Adapter\AdapterServiceFactoryso I could be able to call my ownDb\Adapter.It should create a service of
RVMvp\Db\Adapter\Adapterbut keep creatingZend\Db\Adapter\Adapter.This is happening because the invokable method is calling directly the
Zend\Db\Adapter\Adapterinstead of the requested name provided oncreateServicemethod:I did my workaround adding the invokable method to my own
AdapterServiceFactory:I'm suggesting a bugfix so we don't need to override the invokable method.