public function updated($instance)
    {
        $before = $this->recordableAttributes(get_class($instance), $instance->getOriginal());

        $after = $this->recordableAttributes(get_class($instance), $instance->getAttributes());

        $instance->recordActivity('updated', $before, $after);
    }
public function updated($instance)
    {
        $before = $this->recordableAttributes(get_class($instance), $instance->getOriginal());

        $after = $this->recordableAttributes(get_class($instance), $instance->getAttributes());

        $instance->recordActivity('updated', $before, $after);
    }
public function updated ( $ instance ) { $ before = $ this -> recordableAttributes ( get_class ( $ instance ) , $ instance -> getOriginal ( ) ) ; $ after = $ this -> recordableAttributes ( get_class ( $ instance ) , $ instance -> getAttributes ( ) ) ; $ instance -> recordActivity ( 'updated' , $ before , $ after ) ; }
Record activity for the "updated" event.

@param  \Illuminate\Database\Eloquent\Model  $instance
@return void
Record activity for the updated event .