LMSLogService   A
last analyzed

Complexity

Total Complexity 7

Size/Duplication

Total Lines 34
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 2
c 1
b 0
f 0
dl 0
loc 34
rs 10
wmc 7

7 Methods

Rating   Name   Duplication   Size   Complexity  
A createCourse() 0 2 1
A updateUser() 0 2 1
A updateCourse() 0 2 1
A authenticate() 0 3 1
A enrollStudent() 0 2 1
A removeStudent() 0 2 1
A createUser() 0 2 1
1
<?php
2
3
namespace App\Services;
4
5
use App\Interfaces\LMSInterface;
6
use App\Models\Course;
7
use App\Models\Student;
8
use App\Models\User;
9
10
class LMSLogService implements LMSInterface
11
{
12
    public function authenticate(): ?string
13
    {
14
        return null;
15
    }
16
17
    public function createUser(User $user, ?string $password): void
18
    {
19
        // TODO: Implement createUser() method.
20
    }
21
22
    public function updateUser(User $user, ?string $password): void
23
    {
24
        // TODO: Implement updateUser() method.
25
    }
26
27
    public function createCourse(Course $course): void
28
    {
29
        // TODO: Implement createCourse() method.
30
    }
31
32
    public function updateCourse(Course $course): void
33
    {
34
        // TODO: Implement updateCourse() method.
35
    }
36
37
    public function enrollStudent(Course $course, Student $student): void
38
    {
39
        // TODO: Implement enrollStudent() method.
40
    }
41
42
    public function removeStudent($courseId, $userId): void
43
    {
44
        // TODO: Implement removeStudent() method.
45
    }
46
}
47