diff --git a/src/Html/Renderables/Text.php b/src/Html/Renderables/Text.php index 078d80e..c566d20 100644 --- a/src/Html/Renderables/Text.php +++ b/src/Html/Renderables/Text.php @@ -20,6 +20,12 @@ final class Text implements Renderable $this->text = $text; } + /** @return string */ + public function getStringBacking() + { + return $this->text; + } + /** @return string */ public function getHtml() {