public function syncOriginalAttributes($attributes)
    {
        $attributes = is_array($attributes) ? $attributes : func_get_args();

        foreach ($attributes as $attribute) {
            $this->original[$attribute] = $this->attributes[$attribute];
        }

        return $this;
    }
public function syncOriginalAttributes($attributes)
    {
        $attributes = is_array($attributes) ? $attributes : func_get_args();

        foreach ($attributes as $attribute) {
            $this->original[$attribute] = $this->attributes[$attribute];
        }

        return $this;
    }
public function syncOriginalAttributes ( $ attributes ) { $ attributes = is_array ( $ attributes ) ? $ attributes : func_get_args ( ) ; foreach ( $ attributes as $ attribute ) { $ this -> original [ $ attribute ] = $ this -> attributes [ $ attribute ] ; } return $ this ; }
Sync multiple original attribute with their current values.

@param  array|string  $attributes
@return $this
Sync multiple original attribute with their current values .