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