Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Apr 13, 2015
  1. @dupuchba
Commits on Nov 30, 2014
  1. @GrahamCampbell

    Docblock fixes

    GrahamCampbell authored
Commits on Sep 30, 2014
  1. @nicolas-grekas
Commits on Apr 16, 2014
  1. @fabpot

    fixed types in phpdocs

    fabpot authored
Commits on Apr 15, 2014
  1. @fabpot
Commits on Jul 9, 2012
  1. @fabpot

    fixed CS

    fabpot authored
Commits on May 15, 2012
  1. @fabpot

    fixed phpdoc @param alignment

    fabpot authored
Commits on Mar 11, 2012
  1. @fabpot

    fixed CS

    fabpot authored
Commits on Mar 10, 2012
Commits on Mar 3, 2012
  1. @fabpot

    [EventDispatcher] fixed CS

    fabpot authored
Commits on Jun 14, 2011
  1. @fabpot
  2. @fabpot
Commits on May 30, 2011
  1. @fabpot

    fixed typos

    fabpot authored
  2. @fabpot

    [EventDispatcher] fixed notices

    fabpot authored
Commits on Mar 24, 2011
  1. @fabpot
Commits on Mar 18, 2011
  1. @fabpot

    [EventDispatcher] refactored the code

    fabpot authored
     * 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. @fabpot
Commits on Mar 17, 2011
  1. @fabpot
Commits on Mar 13, 2011
  1. @webmozart

    Switched from Doctrine's EventManager implementation to the EventMana…

    webmozart authored
    …ger clone in Symfony2 (now called EventDispatcher again)
  2. @webmozart
Commits on Mar 6, 2011
  1. @fabpot
Commits on Feb 26, 2011
  1. @pborreli

    [EventDispatcher] Fixed typo

    pborreli authored
Commits on Jan 26, 2011
  1. @fabpot

    changed the EventDispatcher and Event interfaces

    fabpot authored
    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:
    
    Before:
    
        $event->setReturnValue('foo');
        return true;
    
    After:
    
        $event->setProcessed();
        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:
    
    Before:
    
        $event = $dispatcher->notifyUntil($event);
        if ($event->isProcessed()) {
            $ret = $event->getReturnValue();
    
            // do something with $ret
        }
    
    After:
    
        $ret = $dispatcher->notifyUntil($event);
        if ($event->isProcessed()) {
            // do something with $ret
        }
Commits on Jan 25, 2011
  1. @fabpot
Something went wrong with that request. Please try again.