File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
cookbook/service_container Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -107,9 +107,10 @@ using a special "tag":
107
107
Creating an Event Subscriber
108
108
----------------------------
109
109
110
- Another way to listen to events is via an event subscriber. An event subscriber can define one or various method
111
- that listen to one or various events, and can stablish a priority for each method. The following example shows
112
- a subscriber that subscribes various methods to the kernel.exception event:
110
+ Another way to listen to events is via an event subscriber. An event subscriber
111
+ can define one or various method that listen to one or various events,
112
+ and can stablish a priority for each method. The following example shows
113
+ a subscriber that subscribes various methods to the kernel.exception event::
113
114
114
115
// src/Acme/DemoBundle/EventListener/AcmeExceptionSubscriber.php
115
116
namespace Acme\DemoBundle\EventSubscriber;
You can’t perform that action at this time.
0 commit comments