public function __construct(array $params = [])
{
if (isset($params['allow'])) {
$this->params = array_replace_recursive($this->params, $params);
// Exand all IPv6 addresses in the filters
array_walk($this->params['allow'], [$this, 'expandIPv6InFilters']);
}
}