public function Firewall::getUpdater in Anti Spam by CleanTalk 8.4
Same name and namespace in other branches
- 9.1.x src/lib/Cleantalk/Common/Firewall/Firewall.php \Cleantalk\Common\Firewall\Firewall::getUpdater()
Get and configure the FirewallUpdater object.
Parameters
string $data_table_name:
Return value
File
- src/
lib/ Cleantalk/ Common/ Firewall/ Firewall.php, line 370
Class
Namespace
Cleantalk\Common\FirewallCode
public function getUpdater($data_table_name) {
$fw_updater = new FirewallUpdater($this->api_key, $this->db, $data_table_name);
$fw_updater
->setSpecificHelper($this->helper);
$fw_updater
->setSpecificApi($this->api);
return $fw_updater;
}