| Total Complexity | 1 |
| Total Lines | 17 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 18 | class CoreRuntime implements RuntimeExtensionInterface |
||
| 19 | { |
||
| 20 | /** |
||
| 21 | * Protect a given mail address by finding the text 'x@y' and replacing |
||
| 22 | * it with HTML entities. This provides protection against email harvesters. |
||
| 23 | */ |
||
| 24 | public function protectMailAddress(string $string): string |
||
| 37 |