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

        $instance->recordActivity('deleted', $before, null);
    }
public function deleted($instance)
    {
        $before = $this->recordableAttributes(get_class($instance), $instance->getAttributes());

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

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