public function setAllowedTags(array $allowedTags) { $this->allowedTags = $allowedTags; return $this; }