classes/Models/Traits/Loggable.php
private function replaceAttributesWithChange()
    {
        if (($change = static::lookupRequestedChange())
            && $change->key == $this->getKey()) {
            $this->attributes = array_merge(
                $this->attributes,
                $this->attributesAtChange($change)
            );
        }
    }
private function replaceAttributesWithChange()
    {
        if (($change = static::lookupRequestedChange())
            && $change->key == $this->getKey()) {
            $this->attributes = array_merge(
                $this->attributes,
                $this->attributesAtChange($change)
            );
        }
    }
private function replaceAttributesWithChange ( ) { if ( ( $ change = static :: lookupRequestedChange ( ) ) && $ change -> key == $ this -> getKey ( ) ) { $ this -> attributes = array_merge ( $ this -> attributes , $ this -> attributesAtChange ( $ change ) ) ; } }
Replace all the attributes with those from the specified Change specified
in the reqeust query.

@return void
Replace all the attributes with those from the specified Change specified in the reqeust query .