code: public function setText($text)
      {
          $this->text = $text;
  
          if (!$this->text instanceof Text) {
              $this->text = new Text($this->text);
          }
  
          return $this;
      }
docs: Sets the inner text
  
  @param Text|string $text A string to set
  
  @return Tag