메소드 |
설명 |
|
__construct ( Learner\Repositories\BlogRepositoryInterface $blogs ) |
Instance blog repository. |
|
destory ( integer $id ) : Illuminate\Http\JsonResponse |
Delete a video. |
|
edit ( integer $id ) : Illuminate\Http\JsonResponse |
Edit the blog. |
|
index ( ) : Illuminate\Http\JsonResponse |
Get all blogs with relation. |
|
store ( ) : Illuminate\Http\JsonResponse |
Save created blog. |
|
togglePublished ( integer $id ) : Illuminate\Http\JsonResponse |
Toggle blog published. |
|
toggleTop ( integer $id ) : Illuminate\Http\JsonResponse |
Toggle blog toped. |
|
update ( integer $id ) : Illuminate\Http\JsonResponse |
Update the blog. |
|