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

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

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

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