public function CleantalkRequest::__construct in Anti Spam by CleanTalk 8.3
Fill params with constructor
Parameters
type $params:
File
- src/
lib/ Cleantalk/ Antispam/ CleantalkRequest.php, line 164
Class
- CleantalkRequest
- Request class
Namespace
Drupal\cleantalk\lib\Cleantalk\AntispamCode
public function __construct($params = null) {
if (is_array($params) && count($params) > 0) {
foreach ($params as $param => $value) {
$this->{$param} = $value;
}
}
}