vendor/ipl/html/src/ValidHtml.php
raw| 1 | <?php |
| 2 | |
| 3 | namespace ipl\Html; |
| 4 | |
| 5 | /** |
| 6 | * Interface for HTML elements or primitives that promise to render valid UTF-8 encoded HTML5 with special characters |
| 7 | * converted to HTML entities |
| 8 | */ |
| 9 | interface ValidHtml |
| 10 | { |
| 11 | /** |
| 12 | * Render to HTML |
| 13 | * |
| 14 | * @return string UTF-8 encoded HTML5 with special characters converted to HTML entities |
| 15 | */ |
| 16 | public function render(); |
| 17 | } |