You are here

function SFW::__construct in Anti Spam by CleanTalk 8.3

Same name in this branch
  1. 8.3 src/lib/Cleantalk/ApbctDrupal/SFW.php \Drupal\cleantalk\lib\Cleantalk\ApbctDrupal\SFW::__construct()
  2. 8.3 src/lib/Cleantalk/Antispam/SFW.php \Drupal\cleantalk\lib\Cleantalk\Antispam\SFW::__construct()
1 call to SFW::__construct()
SFW::__construct in src/lib/Cleantalk/ApbctDrupal/SFW.php
1 method overrides SFW::__construct()
SFW::__construct in src/lib/Cleantalk/ApbctDrupal/SFW.php

File

src/lib/Cleantalk/Antispam/SFW.php, line 26

Class

SFW

Namespace

Drupal\cleantalk\lib\Cleantalk\Antispam

Code

function __construct($api_key, $db, $table_prefix) {
  $this->table_prefix = $table_prefix;
  $this->api_key = $api_key;
  $this->db = $db;
}