| Total Complexity | 6 |
| Total Lines | 32 |
| Duplicated Lines | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 9 | class DBStringExtension extends Extension |
||
| 10 | { |
||
| 11 | private const SPAN_START = '<span class="keep-together">'; |
||
| 12 | |||
| 13 | private const SPAN_END = '</span>'; |
||
| 14 | |||
| 15 | public function KeepWordsTogether(?string $words = '') |
||
| 31 | } |
||
| 32 | |||
| 33 | protected function replaceKeepWordsTogether(string $text, string $words) |
||
| 43 |