From 41608b0fdb75dbc4b2340ae1e6d9cad8443185e8 Mon Sep 17 00:00:00 2001 From: Raul C Date: Wed, 27 Jan 2016 21:23:39 +0100 Subject: [PATCH] Added the missing namespace in example of a subscriber class --- components/event_dispatcher/introduction.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/components/event_dispatcher/introduction.rst b/components/event_dispatcher/introduction.rst index 6e0a9ae3e3a..8279d679c0b 100644 --- a/components/event_dispatcher/introduction.rst +++ b/components/event_dispatcher/introduction.rst @@ -393,6 +393,7 @@ subscribes to the ``kernel.response`` and ``store.order`` events:: use Symfony\Component\EventDispatcher\EventSubscriberInterface; use Symfony\Component\HttpKernel\Event\FilterResponseEvent; + use Acme\StoreBundle\Event\FilterOrderEvent; class StoreSubscriber implements EventSubscriberInterface {