public function setReplies(array $replies)
    {
        $this->replies = [];

        foreach ($replies as $item) {
            $this->addCommentResponse($item);
        }

        return $this;
    }
public function setReplies(array $replies)
    {
        $this->replies = [];

        foreach ($replies as $item) {
            $this->addCommentResponse($item);
        }

        return $this;
    }
public function setReplies ( array $ replies ) { $ this -> replies = [ ] ; foreach ( $ replies as $ item ) { $ this -> addCommentResponse ( $ item ) ; } return $ this ; }
Sets the "replies" of the CommentResponse.

@param CommentResponse[] $replies

@return CommentResponse
Sets the replies of the CommentResponse .