프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$comment | CommentRepository object. |
메소드 | 설명 | |
---|---|---|
__construct ( |
CommentController constructor. | |
destroy ( integer $id ) : Illuminate\Http\Response | Remove the specified resource from storage. | |
index ( ) : Illuminate\Http\Response | Display a listing of the resource. | |
seen ( Illuminate\Http\Request $request, $id ) : Illuminate\Http\JsonResponse | Toggle comment seen status. | |
store ( Illuminate\Http\Request $request ) : Illuminate\Http\Response | Store a newly created comment in storage. | |
valid ( Illuminate\Http\Request $request, $id ) : Illuminate\Http\JsonResponse | Toggle comment valid status. |
public __construct ( |
||
$comment |
public index ( ) : Illuminate\Http\Response | ||
리턴 | Illuminate\Http\Response |
public seen ( Illuminate\Http\Request $request, $id ) : Illuminate\Http\JsonResponse | ||
$request | Illuminate\Http\Request | |
$id | ||
리턴 | Illuminate\Http\JsonResponse |
public store ( Illuminate\Http\Request $request ) : Illuminate\Http\Response | ||
$request | Illuminate\Http\Request | |
리턴 | Illuminate\Http\Response |
public valid ( Illuminate\Http\Request $request, $id ) : Illuminate\Http\JsonResponse | ||
$request | Illuminate\Http\Request | |
$id | ||
리턴 | Illuminate\Http\JsonResponse |