Total Complexity | 3 |
Total Lines | 25 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
5 | abstract class AbstractEscaper implements EscaperInterface |
||
6 | { |
||
7 | /** |
||
8 | * @param string $input |
||
9 | * |
||
10 | * @return string |
||
11 | */ |
||
12 | abstract protected function escapeSingleValue(string $input): string; |
||
13 | |||
14 | /** |
||
15 | * @param mixed $input |
||
16 | * |
||
17 | * @return mixed |
||
18 | */ |
||
19 | public function escape($input) |
||
32 |