Свойство | Тип | Описание | |
---|---|---|---|
$subscribers | Learner\Repositories\SubscriberRepositoryInterface | Subscriber repository. |
Метод | Описание | |
---|---|---|
__construct ( Learner\Repositories\SubscriberRepositoryInterface $subscribers ) | Instance the subscriber repository. | |
destory ( integer $email ) : Illuminate\Http\JsonResponse | Remove a subscriber from database. | |
index ( ) : Illuminate\Http\JsonResponse | Get all subscribers. |
public __construct ( Learner\Repositories\SubscriberRepositoryInterface $subscribers ) | ||
$subscribers | Learner\Repositories\SubscriberRepositoryInterface |
public index ( ) : Illuminate\Http\JsonResponse | ||
Результат | Illuminate\Http\JsonResponse |