public function getCommentVotes(CommentInterface $comment)
    {
        /**
         * @var VoteInterface[] $votes
         */
        $votes = $this
            ->commentVoteObjectDirector
            ->findBy([
                'comment' => $comment,
            ]);

        return VotePackage::create($votes);
    }
public function getCommentVotes(CommentInterface $comment)
    {
        /**
         * @var VoteInterface[] $votes
         */
        $votes = $this
            ->commentVoteObjectDirector
            ->findBy([
                'comment' => $comment,
            ]);

        return VotePackage::create($votes);
    }
public function getCommentVotes ( CommentInterface $ comment ) { /**
         * @var VoteInterface[] $votes
         */ $ votes = $ this -> commentVoteObjectDirector -> findBy ( [ 'comment' => $ comment , ] ) ; return VotePackage :: create ( $ votes ) ; }
Get comment votes.

@param CommentInterface $comment Comment

@return VotePackage Vote package
Get comment votes .