MMOframework
Pourquoi l'IA Playground Bibliothèques Développeurs Agence
FR EN
Créer un projet en direct
Index

iScanner

MMO\edms\interfaces · 1 symbole · générée le 30 Nov 2026

interface

iScanner

iScanner.php:9

What looks for malware in the bytes of a file before edms keeps them (FileManager::$scanner):

interface MMO\edms\interfaces\iScanner
Espace de noms
MMO\edms\interfaces
Voir
ClamdScanner asks a clamd daemon; another antivirus implements the same method.

Méthodes1

scan($filename)

abstractiScanner.php:16
abstract function scan(string $filename): ?string
$filenamestringa local file
retournenull | stringnull if nothing was found in $filename, the name of what was found otherwise (Eicar-Test-Signature)
lèveif the file could not be analysed: no answer, an error, a file too big
$scanner->scan('/tmp/upload'); // null, or 'Win.Trojan.Agent-123'