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..22bf74fdc9d66 100644 --- a/src/Symfony/Component/EventDispatcher/README.md +++ b/src/Symfony/Component/EventDispatcher/README.md @@ -1,8 +1,8 @@ EventDispatcher Component ========================= -EventDispatcher implements a lightweight version of the Observer design -pattern. +The Symfony2 EventDispatcher component implements the Mediator pattern in a +simple and effective way to make your projects truly extensible. use Symfony\Component\EventDispatcher\EventDispatcher; use Symfony\Component\EventDispatcher\Event;