public function markAsRead()
    {
        if (is_null($this->read_at)) {
            $this->forceFill(array(
                'read_at' => $this->freshTimestamp()
            ));

            $this->save();
        }
    }
public function markAsRead()
    {
        if (is_null($this->read_at)) {
            $this->forceFill(array(
                'read_at' => $this->freshTimestamp()
            ));

            $this->save();
        }
    }
public function markAsRead ( ) { if ( is_null ( $ this -> read_at ) ) { $ this -> forceFill ( array ( 'read_at' => $ this -> freshTimestamp ( ) ) ) ; $ this -> save ( ) ; } }
Mark the notification as read.

@return void
Mark the notification as read .