public function setText($text, $finalize = true)
    {
        if ($finalize && !$this->isFinalized()) {
            $this->finalize();
        }

        $this->append($text);
        return $this;
    }
public function setText($text, $finalize = true)
    {
        if ($finalize && !$this->isFinalized()) {
            $this->finalize();
        }

        $this->append($text);
        return $this;
    }
public function setText ( $ text , $ finalize = true ) { if ( $ finalize && ! $ this -> isFinalized ( ) ) { $ this -> finalize ( ) ; } $ this -> append ( $ text ) ; return $ this ; }
Sets a text

@param string $text
@param boolean $finalize Whether to finalize the tag
@return \Krystal\Form\NodeElement
Sets a text