Expose text string backing

This commit is contained in:
Aidan Woods 2019-01-20 02:17:41 +00:00
parent 00835c5101
commit c852b487b4
No known key found for this signature in database
GPG Key ID: 9A6A8EFAA512BBB9

View File

@ -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()
{