public function ScannerInterface::scan in ClamAV 8
Same name and namespace in other branches
- 2.x src/ScannerInterface.php \Drupal\clamav\ScannerInterface::scan()
Scan a file.
Parameters
Drupal\file\FileInterface $file: The file to scan for viruses.
Return value
int
3 methods override ScannerInterface::scan()
- DaemonTCPIP::scan in src/
Scanner/ DaemonTCPIP.php - Scan a file.
- DaemonUnixSocket::scan in src/
Scanner/ DaemonUnixSocket.php - Scan a file.
- Executable::scan in src/
Scanner/ Executable.php - Scan a file.
File
- src/
ScannerInterface.php, line 32
Class
- ScannerInterface
- Provides an interface defining a menu entity.
Namespace
Drupal\clamavCode
public function scan(FileInterface $file);