original_string: public function setTag($tag)
      {
          if (in_array($tag, $this->getParent()->allowed_tags)) {
              throw new \Exception($tag.' can not be changed as it is not allowed under '.$this->getParent()->getTag().'.');
          }
  
          $this->tag = $tag;
  
          return $this;
      }
code: public function setTag($tag)
      {
          if (in_array($tag, $this->getParent()->allowed_tags)) {
              throw new \Exception($tag.' can not be changed as it is not allowed under '.$this->getParent()->getTag().'.');
          }
  
          $this->tag = $tag;
  
          return $this;
      }
code_tokens: public function setTag ( $ tag ) { if ( in_array ( $ tag , $ this -> getParent ( ) -> allowed_tags ) ) { throw new \ Exception ( $ tag . ' can not be changed as it is not allowed under ' . $ this -> getParent ( ) -> getTag ( ) . '.' ) ; } $ this -> tag = $ tag ; return $ this ; }
docstring: Set the tag name.
  
  @return Bluora\LaravelHtmlBuilder\Tag
docstring_tokens: Set the tag name .