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