42 throw new \InvalidArgumentException(
43 "Unknown virus scanner: '$virus_scanner'"
47 throw new \InvalidArgumentException(
48 "Missing path to scan and/or clean commands for virus scanner."
61 return preg_replace(
"/\\\\/",
"/", $p);
An exception for terminatinating execution or to throw for unit testing.
A password is used as part of credentials for authentication.
const VIRUS_SCANNER_ANTIVIR
const VIRUS_SCANNER_CLAMAV
__construct(string $virus_scanner, ?string $path_to_scan, ?string $path_to_clean)
toLinuxConvention(?string $p)
const VIRUS_SCANNER_SOPHOS
A configuration for the setup.