프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$news | Learner\Repositories\NewsletterRepositoryInterface | Newsletter repository. |
메소드 | 설명 | |
---|---|---|
__construct ( Learner\Repositories\NewsletterRepositoryInterface $news ) | Instance Newsletter Repository. | |
destory ( integer $id ) : Illuminate\Http\JsonResponse | Delete a newsletter. | |
index ( ) : Illuminate\Http\JsonResponse | All newsletter. | |
publish ( integer $id ) : Illuminate\Http\JsonResponse | Publish a newsletter. | |
store ( ) : Illuminate\Http\JsonResponse | Store the first newsletter. |
public __construct ( Learner\Repositories\NewsletterRepositoryInterface $news ) | ||
$news | Learner\Repositories\NewsletterRepositoryInterface |
public index ( ) : Illuminate\Http\JsonResponse | ||
리턴 | Illuminate\Http\JsonResponse |
public store ( ) : Illuminate\Http\JsonResponse | ||
리턴 | Illuminate\Http\JsonResponse |