Total Complexity | 5 |
Total Lines | 37 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
9 | final class SignOn |
||
10 | { |
||
11 | private Status $status; |
||
12 | private DateTime $date; |
||
13 | private string $language; |
||
14 | private Institution $institution; |
||
15 | |||
16 | public function __construct( |
||
17 | Status $status, |
||
18 | DateTime $date, |
||
19 | string $language, |
||
20 | Institution $institute |
||
21 | ) { |
||
22 | $this->status = $status; |
||
23 | $this->date = $date; |
||
24 | $this->language = $language; |
||
25 | $this->institution = $institute; |
||
26 | } |
||
27 | |||
28 | public function getStatus(): Status |
||
29 | { |
||
30 | return $this->status; |
||
31 | } |
||
32 | |||
33 | public function getDate(): DateTime |
||
34 | { |
||
35 | return $this->date; |
||
36 | } |
||
37 | |||
38 | public function getLanguage(): string |
||
41 | } |
||
42 | |||
43 | public function getInstitution(): Institution |
||
46 | } |
||
47 | } |
||
48 |