public function onEntityChanged(EntityChangedEvent $embedded_entity_event)
    {
        $value_changed_event = $embedded_entity_event->getValueChangedEvent();

        $this->propagateValueChangedEvent(
            new ValueChangedEvent(
                array(
                    'attribute_name' => $value_changed_event->getAttributeName(),
                    'prev_value' => $value_changed_event->getOldValue(),
                    'value' => $value_changed_event->getNewValue(),
                    'embedded_event' => $embedded_entity_event
                )
            )
        );
    }
public function onEntityChanged(EntityChangedEvent $embedded_entity_event)
    {
        $value_changed_event = $embedded_entity_event->getValueChangedEvent();

        $this->propagateValueChangedEvent(
            new ValueChangedEvent(
                array(
                    'attribute_name' => $value_changed_event->getAttributeName(),
                    'prev_value' => $value_changed_event->getOldValue(),
                    'value' => $value_changed_event->getNewValue(),
                    'embedded_event' => $embedded_entity_event
                )
            )
        );
    }
public function onEntityChanged ( EntityChangedEvent $ embedded_entity_event ) { $ value_changed_event = $ embedded_entity_event -> getValueChangedEvent ( ) ; $ this -> propagateValueChangedEvent ( new ValueChangedEvent ( array ( 'attribute_name' => $ value_changed_event -> getAttributeName ( ) , 'prev_value' => $ value_changed_event -> getOldValue ( ) , 'value' => $ value_changed_event -> getNewValue ( ) , 'embedded_event' => $ embedded_entity_event ) ) ) ; }
Handles entity changed events that are sent by our embedd entity.

@param EntityChangedEvent $embedded_entity_event
Handles entity changed events that are sent by our embedd entity .