src/Tag.php
public function setLastPostedDiscussion(Discussion $discussion)
    {
        $this->last_posted_at = $discussion->last_posted_at;
        $this->last_posted_discussion_id = $discussion->id;
        $this->last_posted_user_id = $discussion->last_posted_user_id;

        return $this;
    }
public function setLastPostedDiscussion(Discussion $discussion)
    {
        $this->last_posted_at = $discussion->last_posted_at;
        $this->last_posted_discussion_id = $discussion->id;
        $this->last_posted_user_id = $discussion->last_posted_user_id;

        return $this;
    }
public function setLastPostedDiscussion ( Discussion $ discussion ) { $ this -> last_posted_at = $ discussion -> last_posted_at ; $ this -> last_posted_discussion_id = $ discussion -> id ; $ this -> last_posted_user_id = $ discussion -> last_posted_user_id ; return $ this ; }
Set the tag's last discussion details.

@param Discussion $discussion
@return $this
Set the tag s last discussion details .