From 6e0159932fdb68068e6296cd9c3ed2b8306ddcaa Mon Sep 17 00:00:00 2001 From: Dirk Pahl Date: Fri, 14 Sep 2012 09:15:23 +0300 Subject: [PATCH] Fix little typo --- book/part09.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/book/part09.rst b/book/part09.rst index f06d1011d8b..28057eaad06 100644 --- a/book/part09.rst +++ b/book/part09.rst @@ -275,7 +275,7 @@ there is a solution: use subscribers instead of listeners:: $dispatcher->addSubscriber(new Simplex\ContentLengthListener()); $dispatcher->addSubscriber(new Simplex\GoogleListener()); -A subscriber knowns about all the events it is interested in and pass this +A subscriber knows about all the events it is interested in and pass this information to the dispatcher via the ``getSubscribedEvents()`` method. Have a look at the new version of the ``GoogleListener``::