19 declare(strict_types=1);
30 public function purify(
string $html): string
40 foreach ($htmlCollection as
$key => $html) {
41 $html = $this->
purify($html);
42 $htmlCollection[
$key] = $html;
45 return $htmlCollection;
Interface for html sanitizing functionality.