Total Complexity | 3 |
Total Lines | 29 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
7 | trait HasProfileSettings |
||
8 | { |
||
9 | use HandlesRequest; |
||
10 | |||
11 | /** |
||
12 | * Get list of available locales |
||
13 | * @return array |
||
14 | */ |
||
15 | public function getLocales() |
||
16 | { |
||
17 | return $this->get(UrlBuilder::RESOURCE_AVAILABLE_LOCALES); |
||
|
|||
18 | } |
||
19 | |||
20 | /** |
||
21 | * Get list of available countries |
||
22 | * @return array |
||
23 | */ |
||
24 | public function getCountries() |
||
25 | { |
||
26 | return $this->get(UrlBuilder::RESOURCE_AVAILABLE_COUNTRIES); |
||
27 | } |
||
28 | |||
29 | /** |
||
30 | * Get list of available account types |
||
31 | * @return array |
||
32 | */ |
||
33 | public function getAccountTypes() |
||
36 | } |
||
37 | } |
||
38 |