1 | <?php |
||
7 | trait PayloadInterfaceRenderTrait |
||
8 | { |
||
9 | /** |
||
10 | * @var \Equip\Adr\PayloadInterface |
||
11 | */ |
||
12 | protected $payload; |
||
13 | |||
14 | /** |
||
15 | * @param string $template The template name |
||
16 | * @param array $output The output produced by the domain layer |
||
17 | * |
||
18 | * @return PayloadInterface |
||
19 | */ |
||
20 | 1 | protected function render($template, array $output = []) |
|
27 | } |
||
28 |