ILIAS  release_7 Revision v7.30-3-g800a261c036
SecureString.php
Go to the documentation of this file.
1<?php declare(strict_types=1);
2
4
11trait SecureString
12{
13
14 protected function secure(string $string) : string
15 {
16 return htmlspecialchars(strip_tags($string), ENT_QUOTES, 'UTF-8', false);
17 }
18}
An exception for terminatinating execution or to throw for unit testing.