You are here

public function DaemonUnixSocket::__construct in ClamAV 8

Same name and namespace in other branches
  1. 2.x src/Scanner/DaemonUnixSocket.php \Drupal\clamav\Scanner\DaemonUnixSocket::__construct()

Constructor.

Parameters

Drupal\clamav\Config $config: Configuration to use.

Overrides ScannerInterface::__construct

File

src/Scanner/DaemonUnixSocket.php, line 18

Class

DaemonUnixSocket

Namespace

Drupal\clamav\Scanner

Code

public function __construct(Config $config) {
  $this->_unix_socket = $config
    ->get('mode_daemon_unixsocket.unixsocket');
}