1 | <?php |
||
7 | trait PayloadRenderTrait |
||
8 | { |
||
9 | /** |
||
10 | * @return Payload $payload |
||
11 | */ |
||
12 | 2 | protected function payload() |
|
16 | |||
17 | /** |
||
18 | * @param string $template The template name |
||
19 | * @param array $output The output produced by the domain layer |
||
20 | * |
||
21 | * @return Payload |
||
22 | */ |
||
23 | 1 | protected function render($template, array $output = []) |
|
30 | } |
||
31 |