Commits on Jun 14, 2011
Commits on May 30, 2011
  1. fixed typos

    fabpot committed May 30, 2011
  2. fixed more unit tests

    fabpot committed May 30, 2011
  3. [EventDispatcher] fixed notices

    fabpot committed May 30, 2011
Commits on May 26, 2011
  1. [EventDispatcher] Allow registration of arbitrary callbacks

    Seldaek committed May 5, 2011
    This in effect removes the direct link between event name and the method name on the handler.
    Any callback can be given as a handler and the event name becomes an arbitrary string. Allowing for easier namespacing (see next commit)
Commits on Apr 6, 2011
Commits on Mar 24, 2011
Commits on Mar 18, 2011
  1. [EventDispatcher] refactored the code

    fabpot committed Mar 18, 2011
     * The array returned by getListeners() now removes the listener hash as the key (as this is an implementation detail)
     * The sort method now guarantees that a listener registered before another will stay in the same order even for the same priority (for BC)
     * Made various optimizations
  2. [EventDispatcher] made order deterministic (first registered one stay…

    fabpot committed Mar 17, 2011
    … first) -- this makes the new system more compatible with the old one
Commits on Mar 17, 2011
  1. fixed CS

    fabpot committed Mar 17, 2011
Commits on Mar 13, 2011
  1. Switched from Doctrine's EventManager implementation to the EventMana…

    webmozart committed Mar 13, 2011
    …ger clone in Symfony2 (now called EventDispatcher again)
Commits on Mar 6, 2011
Commits on Feb 26, 2011
  1. [EventDispatcher] Fixed typo

    pborreli committed Feb 26, 2011
Commits on Feb 22, 2011
Commits on Feb 3, 2011
Commits on Jan 28, 2011
Commits on Jan 26, 2011
  1. changed the EventDispatcher and Event interfaces

    fabpot committed Jan 26, 2011
    The three notification methods do not return the Event instance anymore.
    notify() does not return anything
    notifyUntil() returns the returned value of the event that has processed the event
    filter() returns the filtered value
    Upgrading your listeners:
    Listeners for notify() and filter() events: nothing to change
    Listeners for notifyUntil() events:
        return true;
        return 'foo';
    If you notify events, the processing also need to be changed:
    For filter() notifications: the filtered value is now available as
    the returned value of the filter() method.
    For notifyUntil() notifications:
        $event = $dispatcher->notifyUntil($event);
        if ($event->isProcessed()) {
            $ret = $event->getReturnValue();
            // do something with $ret
        $ret = $dispatcher->notifyUntil($event);
        if ($event->isProcessed()) {
            // do something with $ret
Commits on Jan 25, 2011
Commits on Jan 24, 2011
  1. fixed event dispatcher

    fabpot committed Jan 24, 2011
Commits on Jan 21, 2011
Commits on Jan 18, 2011
Commits on Jan 14, 2011
Commits on Dec 8, 2010