1
0
mirror of https://github.com/erusev/parsedown.git synced 2023-08-10 21:13:06 +03:00

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; $this->text = $text;
} }
/** @return string */
public function getStringBacking()
{
return $this->text;
}
/** @return string */ /** @return string */
public function getHtml() public function getHtml()
{ {