src/Discussion/Discussion.php
public function setFirstPost(Post $post)
    {
        $this->created_at = $post->created_at;
        $this->user_id = $post->user_id;
        $this->first_post_id = $post->id;

        return $this;
    }
public function setFirstPost(Post $post)
    {
        $this->created_at = $post->created_at;
        $this->user_id = $post->user_id;
        $this->first_post_id = $post->id;

        return $this;
    }
public function setFirstPost ( Post $ post ) { $ this -> created_at = $ post -> created_at ; $ this -> user_id = $ post -> user_id ; $ this -> first_post_id = $ post -> id ; return $ this ; }
Set the discussion's first post details.

@param Post $post
@return $this
Set the discussion s first post details .