You are here

public function FirewallModule::setDb in Anti Spam by CleanTalk 9.1.x

Same name and namespace in other branches
  1. 8.4 src/lib/Cleantalk/Common/Firewall/FirewallModule.php \Cleantalk\Common\Firewall\FirewallModule::setDb()

Set specify CMS based DB instance

*

Parameters

DB $db:

File

src/lib/Cleantalk/Common/Firewall/FirewallModule.php, line 136

Class

FirewallModule

Namespace

Cleantalk\Common\Firewall

Code

public function setDb(DB $db) {
  $this->db = $db;
}