31        $dirtySVG = file_get_contents($a_file);
 
   33        file_put_contents($a_file, $cleanSVG);
 
   43        $path = realpath($a_path);
 
   45        $objects = 
new RecursiveIteratorIterator(
new RecursiveDirectoryIterator(
$path), RecursiveIteratorIterator::SELF_FIRST);
 
   46        foreach ($objects as 
$name => $object) {
 
   47            if (strtolower(pathinfo(
$name, PATHINFO_EXTENSION)) == 
"svg") {
 
An exception for terminatinating execution or to throw for unit testing.
if(empty( $files_to_scan)) $sanitizer