Total Complexity | 3 |
Total Lines | 30 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
16 | class CoremediaConfig extends AbstractBundleConfig |
||
17 | { |
||
18 | /** |
||
19 | * @api |
||
20 | * |
||
21 | * @return bool |
||
22 | */ |
||
23 | public function isDebugModeEnabled(): bool |
||
24 | { |
||
25 | return $this->getSharedConfig()->isDebugModeEnabled(); |
||
26 | } |
||
27 | |||
28 | /** |
||
29 | * @api |
||
30 | * |
||
31 | * @return string |
||
32 | */ |
||
33 | public function getPlaceholderPattern(): string |
||
34 | { |
||
35 | return '/(?:(?:<|<)!--CM\s*)(?P<' . SharedCoremediaConfig::PREG_MATCH_PLACEHOLDER_KEY . '>(?:(?!CM--(>|>)).|\s)*)(?:\s*\CM--(?:>|>))/i'; |
||
36 | } |
||
37 | |||
38 | /** |
||
39 | * @api |
||
40 | * |
||
41 | * @return string |
||
42 | */ |
||
43 | public function getMetaTagFormat(): string |
||
46 | } |
||
47 | } |
||
48 |