Total Complexity | 4 |
Total Lines | 55 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 0 |
1 | <?php |
||
19 | class DictionaryGateway extends AbstractGateway |
||
20 | { |
||
21 | /** |
||
22 | * @author EA |
||
23 | * @param $token |
||
24 | * @return array |
||
25 | */ |
||
26 | public function getEmploymentStatuses($token) |
||
27 | { |
||
28 | return $this->fetchDocument( |
||
29 | '/v4/dictionaries/employment-status', |
||
30 | $token, |
||
31 | 'Dictionary Employment Status' |
||
32 | ); |
||
33 | } |
||
34 | |||
35 | /** |
||
36 | * @author EA |
||
37 | * @param $token |
||
38 | * @return array |
||
39 | */ |
||
40 | public function getMaritalStatuses($token) |
||
41 | { |
||
42 | return $this->fetchDocument( |
||
43 | '/v4/dictionaries/marital-status', |
||
44 | $token, |
||
45 | 'Dictionary Martial Status' |
||
46 | ); |
||
47 | } |
||
48 | |||
49 | /** |
||
50 | * @author EA |
||
51 | * @param $token |
||
52 | * @return array |
||
53 | */ |
||
54 | public function getResidentialStatuses($token) |
||
55 | { |
||
56 | return $this->fetchDocument( |
||
57 | '/v4/dictionaries/residential-status', |
||
58 | $token, |
||
59 | 'Dictionary Residential Status' |
||
60 | ); |
||
61 | } |
||
62 | |||
63 | /** |
||
64 | * @author EB |
||
65 | * @param $token |
||
66 | * @return array |
||
67 | */ |
||
68 | public function getUploadDocumentTypes($token) |
||
74 | ); |
||
75 | } |
||
76 | } |
||
77 | |||
78 |