프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$links | Learner\Repositories\LinkRepositoryInterface | Link repository. |
메소드 | 설명 | |
---|---|---|
__construct ( Learner\Repositories\LinkRepositoryInterface $links ) | Instance the link repository. | |
destory ( integer $id ) : Illuminate\Http\JsonResponse | Delete a link. | |
index ( ) : Illuminate\Database\Eloquent\Collection | |
Get all links. | |
store ( ) : Illuminate\Http\JsonResponse | Store the link. | |
update ( integer $id ) : Illuminate\Http\JsonResponse | Update link by id. |
public __construct ( Learner\Repositories\LinkRepositoryInterface $links ) | ||
$links | Learner\Repositories\LinkRepositoryInterface |
public index ( ) : Illuminate\Database\Eloquent\Collection | |
||
리턴 | Illuminate\Database\Eloquent\Collection | |
public store ( ) : Illuminate\Http\JsonResponse | ||
리턴 | Illuminate\Http\JsonResponse |