public function __construct($allowedTags = null, $config = []) { $this->parentConstruct($config); if (!empty($allowedTags)) { $this->allowedTags = $allowedTags; } }