From 16b5b09a27ac3da9746b89ee8e97de40e28172c0 Mon Sep 17 00:00:00 2001 From: William DURAND Date: Tue, 24 Jan 2012 15:25:37 +0100 Subject: [PATCH] Fixed typo --- book/part11.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/book/part11.rst b/book/part11.rst index debd0fca5bc..1d55c653aac 100644 --- a/book/part11.rst +++ b/book/part11.rst @@ -76,7 +76,7 @@ make your error management configurable:: return new Response($msg, $exception->getStatusCode()); }); - $dispatcher->addSubscriber(new HttpKernel\EventListener\ExceptionListener($errorHandler); + $dispatcher->addSubscriber(new HttpKernel\EventListener\ExceptionListener($errorHandler)); ``ExceptionListener`` gives you a ``FlattenException`` instance instead of the thrown ``Exception`` instance to ease exception manipulation and display. It