CommentController
class CommentController extends ApiGuardController (View source)
Class CommentController.
Methods
__construct(
CommentRepository $comment,
CommentTransformer $commentTransformer)
CommentController constructor.
mixed
getComments($video_id)
Get comments of video.
mixed
mixed
Details
at line line 52
__construct(
CommentRepository $comment,
CommentTransformer $commentTransformer)
CommentController constructor.
at line line 67
mixed
getComments($video_id)
Get comments of video.
at line line 81
mixed
store(
CommentStoreRequest $request)
Store comment.
at line line 96
mixed
update(
CommentUpdateRequest $request)
Update comment.
at line line 110
delete(
CommentDeleteRequest $request)
Delete comment.