lib/classes/Swift/Events/SimpleEventDispatcher.php
public function bindEventListener(Swift_Events_EventListener $listener)
    {
        foreach ($this->listeners as $l) {
            // Already loaded
            if ($l === $listener) {
                return;
            }
        }
        $this->listeners[] = $listener;
    }
public function bindEventListener(Swift_Events_EventListener $listener)
    {
        foreach ($this->listeners as $l) {
            // Already loaded
            if ($l === $listener) {
                return;
            }
        }
        $this->listeners[] = $listener;
    }
public function bindEventListener ( Swift_Events_EventListener $ listener ) { foreach ( $ this -> listeners as $ l ) { // Already loaded if ( $ l === $ listener ) { return ; } } $ this -> listeners [ ] = $ listener ; }
Bind an event listener to this dispatcher.
Bind an event listener to this dispatcher .