Total Complexity | 7 |
Total Lines | 38 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
5 | abstract class DateTimeWizard implements Wizard |
||
6 | { |
||
7 | protected const NO_ESCAPING_NEEDED = "$+-/():!^&'~{}<>= "; |
||
8 | |||
9 | 14 | protected function padSeparatorArray(array $separators, int $count): array |
|
14 | } |
||
15 | |||
16 | 2 | protected function escapeSingleCharacter(string $value): string |
|
23 | } |
||
24 | |||
25 | 5 | protected function wrapLiteral(string $value): string |
|
33 | } |
||
34 | |||
35 | 14 | protected function intersperse(string $formatBlock, ?string $separator): string |
|
36 | { |
||
37 | 14 | return "{$formatBlock}{$separator}"; |
|
38 | } |
||
39 | |||
40 | 14 | public function __toString(): string |
|
43 | } |
||
44 | } |
||
45 |