Passed
Push — master ( 26caeb...0e28f7 )
by Thomas
11:18
created

GenericCertificatesService   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 4
c 1
b 0
f 0
dl 0
loc 15
rs 10
wmc 3

3 Methods

Rating   Name   Duplication   Size   Complexity  
A exportResult() 0 3 1
A exportCertificate() 0 3 1
A exportCourseResults() 0 3 1
1
<?php
2
3
namespace App\Services;
4
5
use App\Interfaces\CertificatesInterface;
6
use App\Models\Course;
7
use App\Models\Enrollment;
8
9
class GenericCertificatesService implements CertificatesInterface
10
{
11
    public function exportCertificate(Enrollment $enrollment)
12
    {
13
        abort(403);
14
    }
15
16
    public function exportCourseResults(Course $course)
17
    {
18
        abort(403);
19
    }
20
21
    public function exportResult(Enrollment $enrollment)
22
    {
23
        abort(403);
24
    }
25
}
26