summaryrefslogtreecommitdiffstats
path: root/vendor/ipl/html/src/ValidHtml.php
blob: 2b88af4cfbcd18714e067cda320a8879dfe0fde5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<?php

namespace ipl\Html;

/**
 * Interface for HTML elements or primitives that promise to render valid UTF-8 encoded HTML5 with special characters
 * converted to HTML entities
 */
interface ValidHtml
{
    /**
     * Render to HTML
     *
     * @return string UTF-8 encoded HTML5 with special characters converted to HTML entities
     */
    public function render();
}