public function Firewall::getUpdater in Anti Spam by CleanTalk 9.1.x
Same name and namespace in other branches
- 8.4 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;
}