public function removeEntityChangedListener(EntityChangedListenerInterface $listener)
    {
        if ($this->listeners->hasItem($listener)) {
            $this->listeners->removeItem($listener);
        }
    }
public function removeEntityChangedListener(EntityChangedListenerInterface $listener)
    {
        if ($this->listeners->hasItem($listener)) {
            $this->listeners->removeItem($listener);
        }
    }
public function removeEntityChangedListener ( EntityChangedListenerInterface $ listener ) { if ( $ this -> listeners -> hasItem ( $ listener ) ) { $ this -> listeners -> removeItem ( $ listener ) ; } }
Removes the given entity-changed listener.

@param EntityChangedListenerInterface $listener
Removes the given entity - changed listener .