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