src/Ciconia/Common/Tag.php
public function setText($text)
    {
        $this->text = $text;

        if (!$this->text instanceof Text) {
            $this->text = new Text($this->text);
        }

        return $this;
    }
public function setText($text)
    {
        $this->text = $text;

        if (!$this->text instanceof Text) {
            $this->text = new Text($this->text);
        }

        return $this;
    }
Sets the inner text

@param Text|string $text A string to set

@return Tag