/** * Get comments of video. * * @param $video_id * * @return mixed */ public function getComments($video_id) { $comments = $this->comment->getCommentsVideo($video_id); return $this->response->withCollection($comments, $this->commentTransformer); }
/** * Get comments of video. * * @param $video_id * * @return mixed */ public function getComments($video_id) { $comments = $this->comment->getCommentsVideo($video_id); return $this->response->withCollection($comments, $this->commentTransformer); }