src/Tag.php
public function refreshLastPostedDiscussion()
    {
        if ($lastPostedDiscussion = $this->discussions()->latest('last_posted_at')->first()) {
            $this->setLastPostedDiscussion($lastPostedDiscussion);
        }

        return $this;
    }
public function refreshLastPostedDiscussion()
    {
        if ($lastPostedDiscussion = $this->discussions()->latest('last_posted_at')->first()) {
            $this->setLastPostedDiscussion($lastPostedDiscussion);
        }

        return $this;
    }
public function refreshLastPostedDiscussion ( ) { if ( $ lastPostedDiscussion = $ this -> discussions ( ) -> latest ( 'last_posted_at' ) -> first ( ) ) { $ this -> setLastPostedDiscussion ( $ lastPostedDiscussion ) ; } return $ this ; }
Refresh a tag's last discussion details.

@return $this
Refresh a tag s last discussion details .