diff --git a/src/Symfony/Component/EventDispatcher/GenericEvent.php b/src/Symfony/Component/EventDispatcher/GenericEvent.php index 3a5efcfecc262..c226fdf2e599b 100644 --- a/src/Symfony/Component/EventDispatcher/GenericEvent.php +++ b/src/Symfony/Component/EventDispatcher/GenericEvent.php @@ -21,7 +21,7 @@ class GenericEvent extends Event implements \ArrayAccess, \IteratorAggregate { /** - * Observer pattern subject. + * Event subject. * * @var mixed usually object or callable */ diff --git a/src/Symfony/Component/EventDispatcher/README.md b/src/Symfony/Component/EventDispatcher/README.md index 2cc76980adfef..07b2fd7e28434 100644 --- a/src/Symfony/Component/EventDispatcher/README.md +++ b/src/Symfony/Component/EventDispatcher/README.md @@ -1,8 +1,9 @@ EventDispatcher Component ========================= -EventDispatcher implements a lightweight version of the Observer design -pattern. +The Symfony2 Event Dispatcher component implements the Mediator pattern +in a simple and effective way to make all these things possible and +to make your projects truly extensible. use Symfony\Component\EventDispatcher\EventDispatcher; use Symfony\Component\EventDispatcher\Event;