protected function createValueHolderChangedEvent($prev_value, EventInterface $embedded_event = null)
    {
        return new ValueChangedEvent(
            array(
                'attribute_name' => $this->getAttribute()->getName(),
                'prev_value' => $prev_value,
                'value' => $this->toNative(),
                'embedded_event' => $embedded_event
            )
        );
    }
protected function createValueHolderChangedEvent($prev_value, EventInterface $embedded_event = null)
    {
        return new ValueChangedEvent(
            array(
                'attribute_name' => $this->getAttribute()->getName(),
                'prev_value' => $prev_value,
                'value' => $this->toNative(),
                'embedded_event' => $embedded_event
            )
        );
    }
protected function createValueHolderChangedEvent ( $ prev_value , EventInterface $ embedded_event = null ) { return new ValueChangedEvent ( array ( 'attribute_name' => $ this -> getAttribute ( ) -> getName ( ) , 'prev_value' => $ prev_value , 'value' => $ this -> toNative ( ) , 'embedded_event' => $ embedded_event ) ) ; }
Create a new value-changed event instance from the given info.

@param mixed $prev_value
@param EventInterface $embedded_event
Create a new value - changed event instance from the given info .