EscolaLMS/Courses

View on GitHub
src/Models/Contracts/TopicFileContentContract.php

Summary

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

namespace EscolaLms\Courses\Models\Contracts;

use Illuminate\Foundation\Http\FormRequest;

interface TopicFileContentContract
{
    public function getFileKeyNames(): array;

    public function getUrlAttribute(): string;

    public function generateStoragePath(?string $base_path = null): string;

    public function getStoragePathFinalSegment(): string;

    public function storeUploadsFromRequest(FormRequest $request, ?string $path = null): self;
}