src/Model/Aggregate/Entity.php
protected function getRecordedChanges()
    {
        $recorded_changes = [];

        foreach ($this->getChanges() as $value_changed_event) {
            $attribute = $this->getType()->getAttribute($value_changed_event->getAttributeName());
            if ($attribute instanceof EmbeddedEntityListAttribute) {
                continue;
            }
            $recorded_changes[$attribute->getName()] = $value_changed_event->getNewValue();
        }

        return $recorded_changes;
    }
protected function getRecordedChanges()
    {
        $recorded_changes = [];

        foreach ($this->getChanges() as $value_changed_event) {
            $attribute = $this->getType()->getAttribute($value_changed_event->getAttributeName());
            if ($attribute instanceof EmbeddedEntityListAttribute) {
                continue;
            }
            $recorded_changes[$attribute->getName()] = $value_changed_event->getNewValue();
        }

        return $recorded_changes;
    }
protected function getRecordedChanges ( ) { $ recorded_changes = [ ] ; foreach ( $ this -> getChanges ( ) as $ value_changed_event ) { $ attribute = $ this -> getType ( ) -> getAttribute ( $ value_changed_event -> getAttributeName ( ) ) ; if ( $ attribute instanceof EmbeddedEntityListAttribute ) { continue ; } $ recorded_changes [ $ attribute -> getName ( ) ] = $ value_changed_event -> getNewValue ( ) ; } return $ recorded_changes ; }
Returns a list of changes that actually took place, while processing a given event.

@return array
Returns a list of changes that actually took place while processing a given event .