| 1 | <?php |
||
| 9 | class PlatesFormatter extends HtmlFormatter |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * @var Engine |
||
| 13 | */ |
||
| 14 | protected $engine; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @param Engine $engine |
||
| 18 | */ |
||
| 19 | 2 | public function __construct(Engine $engine) |
|
| 23 | |||
| 24 | /** |
||
| 25 | * @inheritDoc |
||
| 26 | */ |
||
| 27 | 1 | public function body(PayloadInterface $payload) |
|
| 33 | |||
| 34 | /** |
||
| 35 | * @param PayloadInterface $payload |
||
| 36 | * @return string |
||
| 37 | */ |
||
| 38 | 1 | protected function template(PayloadInterface $payload) |
|
| 42 | |||
| 43 | /** |
||
| 44 | * @param Template $template |
||
| 45 | * @param PayloadInterface $payload |
||
| 46 | * @return string |
||
| 47 | */ |
||
| 48 | 1 | protected function render(Template $template, PayloadInterface $payload) |
|
| 52 | } |
||
| 53 |