| 1 | <?php |
||
| 10 | abstract class TemplateRenderer |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * Render keyboard. |
||
| 14 | * |
||
| 15 | * @param Keyboard $keyboard |
||
| 16 | * |
||
| 17 | * @return Type|null |
||
| 18 | */ |
||
| 19 | abstract protected function renderKeyboard(Keyboard $keyboard): ?Type; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * Compile template. |
||
| 23 | * |
||
| 24 | * @param Template $template |
||
| 25 | * |
||
| 26 | * @return Type|mixed|null |
||
| 27 | */ |
||
| 28 | 2 | public function render(Template $template) |
|
| 41 | } |
||
| 42 |