public function setAllowedTags($tags)
        {
            if(!is_array($tags)) {
                $tags = [$tags];
            }
            $this->allowedTags = $tags;
            return $this;
        }
public function setAllowedTags($tags)
        {
            if(!is_array($tags)) {
                $tags = [$tags];
            }
            $this->allowedTags = $tags;
            return $this;
        }
public function setAllowedTags ( $ tags ) { if ( ! is_array ( $ tags ) ) { $ tags = [ $ tags ] ; } $ this -> allowedTags = $ tags ; return $ this ; }
Set the HTML tags that should be left in the input string

@param array|string $tags The allowed tags: either an array or a string with a single tag.

@return \Thin\Filter\StripTags Provides a fluent interface
Set the HTML tags that should be left in the input string