Total Complexity | 4 |
Total Lines | 32 |
Duplicated Lines | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
10 | class Provider |
||
11 | { |
||
12 | /** |
||
13 | * @return string |
||
14 | */ |
||
15 | public function getProblemBaseUrl(): string |
||
16 | { |
||
17 | return Environment::getVar(Env::API_PROBLEM_BASE_URL); |
||
|
|||
18 | } |
||
19 | |||
20 | /** |
||
21 | * @return string |
||
22 | */ |
||
23 | public function getAdminDateFormat(): string |
||
24 | { |
||
25 | return Environment::getVar(Env::ADMIN_DATE_FORMAT); |
||
26 | } |
||
27 | |||
28 | /** |
||
29 | * @return string |
||
30 | */ |
||
31 | public function getAdminDateTimeFormat(): string |
||
32 | { |
||
33 | return Environment::getVar(Env::ADMIN_DATETIME_FORMAT); |
||
34 | } |
||
35 | |||
36 | /** |
||
37 | * @return bool |
||
38 | */ |
||
39 | public function isCacheAllowed(): bool |
||
42 | } |
||
43 | } |
||
44 |