I am trying to run a slim project, and its throwing an error from the Dispatcher file. the error is on this function: public function getListeners($ev ...
I am trying to run a slim project, and its throwing an error from the Dispatcher file. the error is on this function: public function getListeners($ev ...
How can we edit manually final SQL query before execution in Symfony / Doctrine? I need to change value MANUALLY in SQL, i know i can edit it postPer ...
I have a problem in a Symfony 4.4 application where there are a dozen listeners listening to a single event that extends Symfony\Contracts\EventDispat ...
Taking the example from https://symfony.com/doc/current/event_dispatcher.html Is it correct to assume that this list can be changed during runtime? ...
I use an event subscriber to handle some actions when my order form is submitted. Problem my event is not being dispached but symfony is able to find ...
With the new Symfony 5.1 security system, I'm not able to fire the InteractiveLoginEvent. I followed the configuration in the official documentation ...
I'm creating configured maintenance page. I created an event subscriber: public function onKernelRequest(RequestEvent $event) { $mai ...
I want to use the security.interactive_login event to update my User's last login field. The event is successfully registered: php bin/console debug ...
Using Symfony official documentation, I was cleaning up some code and wanted to replace a Doctrine event listener in Symfony (working): With a mo ...
In the form builder I have added field with: In the entityfile that column is defined as: The same column in database table contains type text. ...
Which EventDispatcher to use in cocos2d ? Node::EventDispatcher or Director::EventDispatcher ? After referencing the official documentation of both Di ...
I created a simple test case in Symfony. So one client which should listen for an event which will be dispatched during an request. But nothing happen ...
I have functionm onKernelRequest when i want to add some custom header(in my case api=true||$request->headers->set('api', "true")) and in all Re ...
I'm trying to dispatch a custom event from the Rabbitmq Consumer. This process used to work on Symfony 3.4, recently upgraded the project to Symfony F ...
let's say I have a listener as a service like this service.yml It's work fine in development environment but when I switch to production enviro ...
I'm using Symfony 4 and there are custom event and subscriber, e.g. CustomEvent and CustomEventSubscriber. There is module which dispatch CustomEvent, ...
I was wondering how to write a service that is executed only on kernel.terminate. For instance when I call: I know that the kernel will send a res ...
I have the following event class definition: And I have created a subscriber as follow: I have also defined the following at services.yaml: W ...
What I am currently thinking about is that on our platform, number of events generated by users encreases every day (call started, call ended, call re ...
I have a problem with my project : Not called : Called : Strange that postRemove is not called. I confirm that the entity is deleted from data ...