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