/** * @api {get} /comments/:commentId/likes Get Comment Likers * @apiGroup Likes * @apiDescription Get who liked a comment. * * @param Comment $comment * * @return \Illuminate\Http\Response */ public function index(Comment $comment) { $likes = $comment->likes(); $paginator = $likes->paginate($this->getResultsPerPage()); return $this->response($this->paginatorToArray($paginator, 'likes')); }