8use Psr\Http\Message\StreamInterface;
45 $uri = $stream->getMetadata()[
"uri"];
47 if ($this->scanner->scanFile($uri) !==
"") {
An exception for terminatinating execution or to throw for unit testing.
const REJECTED
Upload got rejected by a processor.
Class VirusScannerPreProcessor.
__construct(\ilVirusScanner $scanner)
VirusScannerPreProcessor constructor.
process(FileStream $stream, Metadata $metadata)
@inheritDoc
Base class for the interface to an external virus scanner This class is abstract and needs to be exte...
Interface FileStream The base interface for all filesystem streams.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...