Свойство | Тип | Описание | |
---|---|---|---|
$categories | Learner\Repositories\CategoryRepositoryInterface | Category repository. | |
$series | Learner\Repositories\SeriesRepositoryInterface | Series repository. |
Метод | Описание | |
---|---|---|
__construct ( Learner\Repositories\SeriesRepositoryInterface $series, Learner\Repositories\CategoryRepositoryInterface $categories ) | Create a new SeriesController instance. | |
destory ( Illuminate\Http\Request $request, $id ) : Illuminate\Http\JsonResponse | Delete series. | |
index ( ) : Illuminate\Database\Eloquent\Collection | |
Return all series and relation. | |
store ( ) : Illuminate\Http\JsonResponse | Create a new series. | |
update ( $id ) : Illuminate\Http\JsonResponse | Update series. |
public __construct ( Learner\Repositories\SeriesRepositoryInterface $series, Learner\Repositories\CategoryRepositoryInterface $categories ) | ||
$series | Learner\Repositories\SeriesRepositoryInterface | |
$categories | Learner\Repositories\CategoryRepositoryInterface |
public destory ( Illuminate\Http\Request $request, $id ) : Illuminate\Http\JsonResponse | ||
$request | Illuminate\Http\Request | |
Результат | Illuminate\Http\JsonResponse |
public index ( ) : Illuminate\Database\Eloquent\Collection | |
||
Результат | Illuminate\Database\Eloquent\Collection | |
public store ( ) : Illuminate\Http\JsonResponse | ||
Результат | Illuminate\Http\JsonResponse |
public update ( $id ) : Illuminate\Http\JsonResponse | ||
Результат | Illuminate\Http\JsonResponse |
protected CategoryRepositoryInterface,Learner\Repositories $categories | ||
Результат | Learner\Repositories\CategoryRepositoryInterface |