I'm quite new to Laminas API tools, i'd like to understand how inject properly a service into my rest service. Example: I need to implement someth ...
I'm quite new to Laminas API tools, i'd like to understand how inject properly a service into my rest service. Example: I need to implement someth ...
I am wondering about the best practices for loading complex objects. To begin with, i'm going to outline some boilerplate before getting to the proble ...
I'm trying to use https://github.com/php-middleware/phpdebugbar in a clean Zend Expressive Skeleton application. I know the instructions on this page ...
I use the configuration below to create a logger: Log works fine but php error not logged nowhere. Why? I use this code to generate a simple err ...
I got problem with the Abstract Factories example. I get ServiceNotFoundException while creating a class with Abstract Factory registered in the Ser ...
I'd like to inject an array of objects that implement a common interface into one of my services. I am using zend servicemanager as the DI container. ...
Is there any method for getting html content of a view in a controller? I am trying to send html email from ZF3,however, I have not find any method fo ...
In ZF3, I am calling a form factory from a controller using this notation: not In the factory, I'm using what ZF3 recommends for the method: ...
I want to test a specific controller action in Zend Framework 3. Because I use ZfcUser (https://github.com/ZF-Commons/ZfcUser) and Bjyauthorize (https ...
I would like to use Zend Service Manager in my custom codebase. It is not built on Zend MVC and instead I am only using a few Zend Packages like Zend ...
I try to migrate from ZF2 to ZF3 but many viewHelpers and validators do not work. But only the ones who overwrite ZendFrameworks viewhelpers / validat ...
How to use Dependency Injection container when I have a variable non-static parameter that I need to supply? What I want in my code is this: What ...
I have a problem using MVCTranslator with translations stored in the database. I configured the translations to use remote_translation, but I can not ...
I have a custom authentication service and in ZF2 I accessed this as follows: Application/view/layout/layout.phtml Now the Zend\ServiceManager#get ...
In the Factory classes of my Zend Framework 2 application, I often used such a construction: So to access a "common" service, I first retrieved the ...
I'm migrating a ZF2 application to ZF3. First I was getting the error: Adding of 'Zend\Router' to the modules array in the application.config.php ...
In Zend Framework 2, I have a controller class UserController UserController is dependent on UserService UserService is dependent on UserChange ...
I have a factory within Module/src/Module/Service/Factory/CourseServiceFactory.php I have defined this factory in module.config.php as follows: Ho ...
Is it possible to access controller plugins from a form/controller factory (any factory implementing FactoryInterface)? I have a form factory that i ...
I have a ZF 3 application. Messages I explicitly log with e.g $log->debug() Show up just fine. Exceptions don't. Errors seem to show up because tha ...