Метод |
Описание |
|
create ( array $data ) : array |
Create a video. |
|
delete ( integer $id ) : boolean | null |
Delete video. |
|
findAll ( ) : array |
Return id as key and title as value. |
|
findAllPublishedPaginated ( integer $perPage = 50 ) : Illuminate\Contracts\Pagination\LengthAwarePaginator |
Paniaget the all videos. |
|
getSaveForm ( ) : Learner\Services\Forms\CreateVideoFormService |
Create video save-form service. |
|
hasChanged ( integer $id, string $resource_type, string $resource_id ) : boolean |
Check the video resource changed. |
|
update ( integer $id, array $data ) : array |
Update video. |
|