src/Template/Processor/Processor.php
protected static function text(Element $element, string $phpExpression): void
    {
        $element->removeChildren();

        if ($phpExpression) {
            $element->appendChild(
                static::toPhp($phpExpression)
            );
        }
    }
protected static function text(Element $element, string $phpExpression): void
    {
        $element->removeChildren();

        if ($phpExpression) {
            $element->appendChild(
                static::toPhp($phpExpression)
            );
        }
    }
protected static function text ( Element $ element , string $ phpExpression ) : void { $ element -> removeChildren ( ) ; if ( $ phpExpression ) { $ element -> appendChild ( static :: toPhp ( $ phpExpression ) ) ; } }
set inner text of the an element.

@param Element $element
@param string  $phpExpression
set inner text of the an element .