| Total Complexity | 3 |
| Total Lines | 22 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 13 | trait TEscapedValue |
||
| 14 | { |
||
| 15 | protected ?int $flags = null; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @param int|null $flags example: ENT_NOQUOTES | ENT_HTML5 |
||
| 19 | * @link http://php.net/manual/en/function.htmlspecialchars.php |
||
| 20 | */ |
||
| 21 | 1 | public function setEscapeFlags(?int $flags): void |
|
| 24 | 1 | } |
|
| 25 | |||
| 26 | /** |
||
| 27 | * @param float|int|string|bool|null $content |
||
| 28 | * @return float|int|string|bool|null |
||
| 29 | */ |
||
| 30 | 20 | protected function valueEscape($content) |
|
| 37 |