Symbiote\SteamedClams\Tasks\ClamAVScanTask
Synopsis
class ClamAVScanTask
extends ClamAVBaseTask
{
- // members
- protected string $title = 'ClamAV Virus Scan Task';
- protected string $description = 'Scans files missed due to ClamAV daemon being unavailable at time of file upload.';
- protected integer $debug_limit = 0;
- // Inherited members from ClamAVBaseTask
- protected ClamAV $clamAV;
- protected ClamAVScanJob $job;
- protected integer $default_limit;
- // methods
- public bool|void run()
- // Inherited methods from ClamAVBaseTask
- public void run()
- protected void log()
- public void log_error_handler()
- protected bool scanListChunked()
- protected bool scanList()
Hierarchy
Members
protected
- $clamAV — Symbiote\SteamedClams\ClamAV
-
$debug_limit
Limit the `File` lists for testing purposes - $default_limit
—
int
Limit the `File` lists for testing purposes - $description — string
- $job — Symbiote\SteamedClams\Jobs\ClamAVScanJob
- $title — string
Methods
public
Inherited from Symbiote\SteamedClams\Tasks\ClamAVBaseTask
protected
- log()
- scanList()
- scanListChunked() — Scan files "bit-by-bit" to avoid filling up and blowing low memory limits
public
- log_error_handler() — Custom error handler so that 'user_error' underneath the 'log' function just prints like everything else.
- run()