VideoController
class VideoController extends ApiGuardController (View source)
Class VideoController.
Methods
__construct(
VideoRepository $video,
UserRepository $user,
VideoTransformer $videoTransformer)
VideoController constructor.
getAllVideos()
Return all Videos.
getBestVideos()
Return the best Videos.
getVideosUser($id)
Return Videos only user.
getVideosForCategory($name)
Return Videos for Category.
getVideosForSearch($search)
Return Videos for Search.
mixed
mixed
show($id)
No description
mixed
update(
Request $request, $id)
Update the specified video in storage.
mixed
destroy($id)
Remove the specified video from storage.
Details
at line line 68
__construct(
VideoRepository $video,
UserRepository $user,
VideoTransformer $videoTransformer)
VideoController constructor.
at line line 80
getAllVideos()
Return all Videos.
at line line 90
getBestVideos()
Return the best Videos.
at line line 100
getVideosUser($id)
Return Videos only user.
at line line 111
getVideosForCategory($name)
Return Videos for Category.
at line line 121
getVideosForSearch($search)
Return Videos for Search.
at line line 135
mixed
store(
VideoUploadRequest $request)
Store a newly created video in storage.
at line line 160
mixed
show($id)
at line line 175
mixed
update(
Request $request, $id)
Update the specified video in storage.
at line line 191
mixed
destroy($id)
Remove the specified video from storage.