protected function propagateCollectionChangedEvent(CollectionChangedEvent $event)
    {
        if ($event->getType() === CollectionChangedEvent::ITEM_REMOVED) {
            $event->getItem()->removeEntityChangedListener($this);
        } else {
            $event->getItem()->addEntityChangedListener($this);
        }

        parent::propagateCollectionChangedEvent($event);
    }
protected function propagateCollectionChangedEvent(CollectionChangedEvent $event)
    {
        if ($event->getType() === CollectionChangedEvent::ITEM_REMOVED) {
            $event->getItem()->removeEntityChangedListener($this);
        } else {
            $event->getItem()->addEntityChangedListener($this);
        }

        parent::propagateCollectionChangedEvent($event);
    }
protected function propagateCollectionChangedEvent ( CollectionChangedEvent $ event ) { if ( $ event -> getType ( ) === CollectionChangedEvent :: ITEM_REMOVED ) { $ event -> getItem ( ) -> removeEntityChangedListener ( $ this ) ; } else { $ event -> getItem ( ) -> addEntityChangedListener ( $ this ) ; } parent :: propagateCollectionChangedEvent ( $ event ) ; }
Propagates a given collection-changed event to all attached collection-changed listeners.

@param CollectionChangedEvent $event
Propagates a given collection - changed event to all attached collection - changed listeners .