File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
cookbook/event_dispatcher Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -156,7 +156,7 @@ your listener to be called just before any controller is executed.
156156 # app/config/services.yml
157157 services :
158158 app.tokens.action_listener :
159- class : AappBundle \EventListener\TokenListener
159+ class : AppBundle \EventListener\TokenListener
160160 arguments : ["%tokens%"]
161161 tags :
162162 - { name: kernel.event_listener, event: kernel.controller, method: onKernelController }
@@ -240,7 +240,7 @@ if it's found::
240240 $response->headers->set('X-CONTENT-HASH', $hash);
241241 }
242242
243- Finally, a second "tag" is needed on the service definition to notify Symfony
243+ Finally, a second "tag" is needed in the service definition to notify Symfony
244244that the ``onKernelResponse `` event should be notified for the ``kernel.response ``
245245event:
246246
You can’t perform that action at this time.
0 commit comments