You are here

public function Firewall::setSpecificApi in Anti Spam by CleanTalk 8.4

Same name and namespace in other branches
  1. 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

Firewall

Namespace

Cleantalk\Common\Firewall

Code

public function setSpecificApi(API $api) {
  $this->api = $api;
}