| 1 | <?php |
||
| 5 | class HtmlString implements Stringable |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * @var string |
||
| 9 | */ |
||
| 10 | private $string; |
||
| 11 | |||
| 12 | /** |
||
| 13 | * HtmlString constructor. |
||
| 14 | * |
||
| 15 | * @param $string |
||
| 16 | */ |
||
| 17 | 1 | public function __construct($string) |
|
| 21 | |||
| 22 | /** |
||
| 23 | * Get the string representation of this object. |
||
| 24 | * |
||
| 25 | * @see https://secure.php.net/language.oop5.magic#object.tostring |
||
| 26 | * @return string |
||
| 27 | */ |
||
| 28 | 1 | public function __toString() |
|
| 32 | } |
||
| 33 |