Total Complexity | 7 |
Total Lines | 70 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
13 | class FactFinderSdkConfig extends AbstractBundleConfig |
||
14 | { |
||
15 | /** |
||
16 | * @api |
||
17 | * |
||
18 | * @return string |
||
19 | */ |
||
20 | public function getEnvironment() |
||
23 | } |
||
24 | |||
25 | /** |
||
26 | * @api |
||
27 | * |
||
28 | * @return array |
||
29 | */ |
||
30 | public function getFactFinderConfiguration() |
||
31 | { |
||
32 | return $this->get(FactFinderSdkConstants::ENVIRONMENT . $this->getEnvironment()); |
||
33 | } |
||
34 | |||
35 | /** |
||
36 | * @api |
||
37 | * |
||
38 | * @return string |
||
39 | */ |
||
40 | public function getCsvDirectory() |
||
41 | { |
||
42 | return $this->get(FactFinderSdkConstants::CSV_DIRECTORY); |
||
43 | } |
||
44 | |||
45 | /** |
||
46 | * @api |
||
47 | * |
||
48 | * @return string |
||
49 | */ |
||
50 | public function getLog4PhpConfigPath() |
||
51 | { |
||
52 | return $this->get(FactFinderSdkConstants::PHP_LOGGER_CONFIG_PATH); |
||
53 | } |
||
54 | |||
55 | /** |
||
56 | * @api |
||
57 | * |
||
58 | * @return string |
||
59 | */ |
||
60 | public function getDefaultProductsPerPage() |
||
61 | { |
||
62 | return $this->get(FactFinderSdkConstants::DEFAULT_PRODUCTS_PER_PAGE); |
||
63 | } |
||
64 | |||
65 | /** |
||
66 | * @api |
||
67 | * |
||
68 | * @return array |
||
69 | */ |
||
70 | public function getItemFields() |
||
73 | } |
||
74 | |||
75 | /** |
||
76 | * @api |
||
77 | * |
||
78 | * @return bool |
||
79 | */ |
||
80 | public function getRedirectIfOneResult() |
||
83 | } |
||
84 | } |
||
85 |