Total Complexity | 7 |
Total Lines | 44 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
9 | final class Team extends Model |
||
10 | { |
||
11 | public const TEAM_OPEN = 'O'; |
||
12 | public const TEAM_INVITE_ONLY = 'I'; |
||
13 | |||
14 | 3 | public function getId(): ?string |
|
15 | { |
||
16 | 3 | return $this->data['id']; |
|
17 | } |
||
18 | |||
19 | 3 | public function getCreateAt(): ?string |
|
20 | { |
||
21 | 3 | return $this->data['create_at']; |
|
22 | } |
||
23 | |||
24 | 3 | public function getUpdateAt(): ?string |
|
25 | { |
||
26 | 3 | return $this->data['update_at']; |
|
27 | } |
||
28 | |||
29 | 3 | public function getName(): ?string |
|
30 | { |
||
31 | 3 | return $this->data['name']; |
|
32 | } |
||
33 | |||
34 | 3 | public function getDisplayName(): ?string |
|
37 | } |
||
38 | |||
39 | 1 | public function getType(): ?string |
|
42 | } |
||
43 | |||
44 | 3 | protected static function getFields(): array |
|
53 | ]; |
||
54 | } |
||
55 | } |
||
56 |