Méthode |
Description |
|
__construct ( ) |
|
|
destroy ( Illuminate\Http\Request $request, integer $id ) : Illuminate\Http\Response |
Remove the specified resource from storage. |
|
recursiveDestroy ( App\Comment $comment ) : boolean | null |
Delete comment recursively |
|
store ( Illuminate\Http\Request $request ) : Illuminate\Http\Response |
Store a newly created resource in storage. |
|
update ( Illuminate\Http\Request $request, integer $id ) : Illuminate\Http\Response |
Update the specified resource in storage. |
|
vote ( Illuminate\Http\Request $request, $id ) : Illuminate\Http\JsonResponse |
Vote up or down for the given comment. |
|