public function removeListener(ListenerInterface $listener)
    {
        if (false !== ($pos = array_search($listener, $this->collection_listeners, true))) {
            array_splice($this->collection_listeners, $pos, 1);
        }
    }
public function removeListener(ListenerInterface $listener)
    {
        if (false !== ($pos = array_search($listener, $this->collection_listeners, true))) {
            array_splice($this->collection_listeners, $pos, 1);
        }
    }
public function removeListener ( ListenerInterface $ listener ) { if ( false !== ( $ pos = array_search ( $ listener , $ this -> collection_listeners , true ) ) ) { array_splice ( $ this -> collection_listeners , $ pos , 1 ) ; } }
Removes the given listener from our list of collection-changed listeners.

@param ListenerInterface $listener
Removes the given listener from our list of collection - changed listeners .