| Total Complexity | 5 |
| Total Lines | 62 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 16 | class CoremediaConfig extends AbstractBundleConfig |
||
| 17 | { |
||
| 18 | protected const FRAGMENT_BASE_PATH = '/blueprint/servlet/service/fragment/'; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @api |
||
| 22 | * |
||
| 23 | * @return string |
||
| 24 | */ |
||
| 25 | public function getCoremediaHost(): string |
||
| 26 | { |
||
| 27 | return $this->get(CoremediaConstants::COREMEDIA_HOST, null); |
||
| 28 | } |
||
| 29 | |||
| 30 | /** |
||
| 31 | * @api |
||
| 32 | * |
||
| 33 | * @return bool |
||
| 34 | */ |
||
| 35 | public function isDebugModeEnabled(): bool |
||
| 36 | { |
||
| 37 | return $this->getSharedConfig()->isDebugModeEnabled(); |
||
| 38 | } |
||
| 39 | |||
| 40 | /** |
||
| 41 | * @api |
||
| 42 | * |
||
| 43 | * @return string |
||
| 44 | */ |
||
| 45 | public function getFragmentBasePath(): string |
||
| 48 | } |
||
| 49 | |||
| 50 | /** |
||
| 51 | * [ |
||
| 52 | * 'ApplicationStoreName1' => 'CoremediaStoreName1', |
||
| 53 | * ... |
||
| 54 | * ] |
||
| 55 | * |
||
| 56 | * @api |
||
| 57 | * |
||
| 58 | * @return string[] |
||
| 59 | */ |
||
| 60 | public function getApplicationStoreMapping(): array |
||
| 61 | { |
||
| 62 | return []; |
||
| 63 | } |
||
| 64 | |||
| 65 | /** |
||
| 66 | * [ |
||
| 67 | * 'CoremediaStoreName1` => ['en_US' => 'en-GB', 'de_DE' => 'de-DE'], |
||
| 68 | * ... |
||
| 69 | * ] |
||
| 70 | * |
||
| 71 | * @api |
||
| 72 | * |
||
| 73 | * @return string[][] |
||
| 74 | */ |
||
| 75 | public function getApplicationStoreLocaleMapping(): array |
||
| 78 | } |
||
| 79 | } |
||
| 80 |