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