Total Complexity | 9 |
Total Lines | 45 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
11 | trait TBasicKeys |
||
12 | { |
||
13 | 3 | public function getIdKey(): string |
|
14 | { |
||
15 | 3 | return 'id'; |
|
16 | } |
||
17 | |||
18 | 3 | public function getShortKey(): string |
|
19 | { |
||
20 | 3 | return 'short'; |
|
21 | } |
||
22 | |||
23 | 2 | public function getNameKey(): string |
|
26 | } |
||
27 | |||
28 | 2 | public function getFamilyKey(): string |
|
29 | { |
||
30 | 2 | return 'family'; |
|
31 | } |
||
32 | |||
33 | 1 | public function getBirthKey(): string |
|
34 | { |
||
35 | 1 | return 'birth'; |
|
36 | } |
||
37 | |||
38 | 1 | public function getDeathKey(): string |
|
39 | { |
||
40 | 1 | return 'death'; |
|
41 | } |
||
42 | |||
43 | 1 | public function getSuccessesKey(): string |
|
44 | { |
||
45 | 1 | return 'successes'; |
|
46 | } |
||
47 | |||
48 | 3 | public function getSexKey(): string |
|
51 | } |
||
52 | |||
53 | 1 | public function getTextKey(): string |
|
54 | { |
||
55 | 1 | return 'text'; |
|
56 | } |
||
57 | } |
||
58 |