EscolaLMS/Courses-Import-Export

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

Summary

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

namespace EscolaLms\CoursesImportExport\Services\Contracts;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Http\UploadedFile;

interface ExportImportServiceContract
{
    public function export($courseId, bool $withUrl = true): string;

    public function import(UploadedFile $file): Model;
}