You are here

public function ScannerInterface::scan in ClamAV 2.x

Same name and namespace in other branches
  1. 8 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\clamav

Code

public function scan(FileInterface $file);