Skip to content

Commit 0a5227d

Browse files
committed
bug #6193 Added the missing namespace in example of a subscriber class (raulconti)
This PR was merged into the 2.3 branch. Discussion ---------- Added the missing namespace in example of a subscriber class | Q | A | ------------- | --- | Doc fix? | yes | New docs? | no | Applies to | all | Fixed tickets | - Commits ------- 41608b0 Added the missing namespace in example of a subscriber class
2 parents adf70bc + 41608b0 commit 0a5227d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

components/event_dispatcher/introduction.rst

+1
Original file line numberDiff line numberDiff line change
@@ -393,6 +393,7 @@ subscribes to the ``kernel.response`` and ``store.order`` events::
393393

394394
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
395395
use Symfony\Component\HttpKernel\Event\FilterResponseEvent;
396+
use Acme\StoreBundle\Event\FilterOrderEvent;
396397

397398
class StoreSubscriber implements EventSubscriberInterface
398399
{

0 commit comments

Comments
 (0)