Scalr\Upgrade\EntityChangesIterator::synchronize PHP Method

synchronize() public method

Synchronizes actual state of the entity with the real
public synchronize ( )
    public function synchronize()
    {
        $actual = $this->getInnerIterator()->getEntity()->getActual();
        foreach ($this as $prop => $val) {
            $actual->{$prop} = $val;
        }
    }