| 1 | <?php |
||
| 5 | class HtmlEncoder implements EncoderInterface |
||
| 6 | { |
||
| 7 | |||
| 8 | /** |
||
| 9 | * @var string |
||
| 10 | */ |
||
| 11 | protected $encoding; |
||
| 12 | |||
| 13 | /** |
||
| 14 | * @param string $encoding |
||
| 15 | */ |
||
| 16 | 5 | public function __construct($encoding = '') |
|
| 20 | |||
| 21 | /** |
||
| 22 | * @param string $encode |
||
| 23 | * |
||
| 24 | * @return string |
||
| 25 | */ |
||
| 26 | 5 | public function encode($encode) |
|
| 32 | |||
| 33 | /** |
||
| 34 | * @return int |
||
| 35 | */ |
||
| 36 | 2 | protected static function getFlags() |
|
| 40 | } |
||
| 41 |