file('value'); if ($image && $image->getClientOriginalExtension() === 'svg') { $sanitizer = new Sanitizer(); $sanitizedSvg = $sanitizer->sanitize(file_get_contents($image->getRealPath())); // Verify that the sanitization removed malicious content if (strpos($sanitizedSvg, '