19 declare(strict_types=1);
27 public function purify(
string $html): string
34 foreach ($htmlCollection as $key => $html) {
35 $html = $this->
purify($html);
36 $htmlCollection[$key] = $html;
39 return $htmlCollection;
Interface for html sanitizing functionality.