| 1 | <?php |
||
| 8 | class ClosedElement extends Element |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * Reimplement appendChild so that no children can be added. |
||
| 12 | */ |
||
| 13 | public function appendChild(Token $token) |
||
| 17 | |||
| 18 | /** |
||
| 19 | * Reimplement prependChild so that no children can be added. |
||
| 20 | */ |
||
| 21 | public function prependChild(Token $token) |
||
| 25 | |||
| 26 | /** |
||
| 27 | * Required by the Token interface. |
||
| 28 | */ |
||
| 29 | 6 | public function toHtml($prefix, $suffix) |
|
| 33 | } |
||
| 34 |