EscolaLMS/Courses

View on GitHub
src/Services/Contracts/CourseServiceContract.php

Summary

Maintainability
A
0 mins
Test Coverage
F
0%
<?php


namespace EscolaLms\Courses\Services\Contracts;

use EscolaLms\Core\Dtos\OrderDto;
use EscolaLms\Courses\Models\Course;
use Illuminate\Database\Eloquent\Builder;

interface CourseServiceContract
{
    public function getCoursesListWithOrdering(OrderDto $orderDto, array $search = []): Builder;
    public function getScormPlayer(int $courseId);
    public function sort($class, $orders): void;
    public function activatePublishedCourses(): void;
}