public function __construct(array $tagWhiteList = null, array $uriAttrs = null, array $uriAllowedSchemes = null, $charset = null)
{
if (!is_null($tagWhiteList)) {
$this->tagWhiteList = $tagWhiteList;
}
if (!is_null($uriAttrs)) {
$this->uriAttrs = $uriAttrs;
}
if (!is_null($uriAllowedSchemes)) {
$this->uriAllowedSchemes = $uriAllowedSchemes;
}
if (!is_null($charset)) {
$this->charset = $charset;
}
}