public function Firewall::setSpecificApi 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::setSpecificApi()
Setting the specific extended API class
Parameters
API $api:
File
- src/
lib/ Cleantalk/ Common/ Firewall/ Firewall.php, line 129
Class
Namespace
Cleantalk\Common\FirewallCode
public function setSpecificApi(API $api) {
$this->api = $api;
}