Fedora 17 Update: php-symfony2-EventDispatcher-2.0.15-1.fc17

updates at fedoraproject.org updates at fedoraproject.org
Tue Jun 26 21:40:17 UTC 2012


--------------------------------------------------------------------------------
Fedora Update Notification
FEDORA-2012-9310
2012-06-13 20:57:36
--------------------------------------------------------------------------------

Name        : php-symfony2-EventDispatcher
Product     : Fedora 17
Version     : 2.0.15
Release     : 1.fc17
URL         : http://symfony.com/doc/current/components/event_dispatcher/introduction.html
Summary     : Symfony2 EventDispatcher Component
Description :
The Symfony2 Event Dispatcher component implements the Observer
(http://en.wikipedia.org/wiki/Observer_pattern) pattern in a simple and
effective way to make all these things possible and to make your projects
truly extensible.

Take a simple example from the Symfony2 HttpKernel component. Once a Response
object has been created, it may be useful to allow other elements in the system
to modify it (e.g. add some cache headers) before it's actually used. To make
this possible, the Symfony2 kernel throws an event - kernel.response. Here's
how it works:

* A listener (PHP object) tells a central dispatcher object that it wants to
  listen to the kernel.response event;
* At some point, the Symfony2 kernel tells the dispatcher object to dispatch
  the kernel.response event, passing with it an Event object that has access to
  the Response object;
* The dispatcher notifies (i.e. calls a method on) all listeners of the
  kernel.response event, allowing each of them to make modifications to the
  Response object.

--------------------------------------------------------------------------------
Update Information:

The Symfony2 Event Dispatcher component implements the Observer
(http://en.wikipedia.org/wiki/Observer_pattern) pattern in a
simple and effective way to make all these things possible and
to make your projects truly extensible.

Take a simple example from the Symfony2 HttpKernel component.
Once a Response object has been created, it may be useful to
allow other elements in the system to modify it (e.g. add some
cache headers) before it's actually used. To make this possible,
the Symfony2 kernel throws an event - kernel.response. Here's
how it works:

* A listener (PHP object) tells a central dispatcher object that
  it wants to listen to the kernel.response event;
* At some point, the Symfony2 kernel tells the dispatcher object
  to dispatch the kernel.response event, passing with it an Event
  object that has access to the Response object;
* The dispatcher notifies (i.e. calls a method on) all listeners
  of the kernel.response event, allowing each of them to make
  modifications to the Response object.
--------------------------------------------------------------------------------
ChangeLog:

--------------------------------------------------------------------------------
References:

  [ 1 ] Bug #823050 - Review Request: php-symfony2-EventDispatcher - Symfony2 EventDispatcher Component
        https://bugzilla.redhat.com/show_bug.cgi?id=823050
--------------------------------------------------------------------------------

This update can be installed with the "yum" update program.  Use 
su -c 'yum update php-symfony2-EventDispatcher' at the command line.
For more information, refer to "Managing Software with yum",
available at http://docs.fedoraproject.org/yum/.

All packages are signed with the Fedora Project GPG key.  More details on the
GPG keys used by the Fedora Project can be found at
https://fedoraproject.org/keys
--------------------------------------------------------------------------------


More information about the package-announce mailing list