1 | <?php |
||
19 | final class TwigFormPostResponseRenderer implements FormPostResponseRenderer |
||
20 | { |
||
21 | /** |
||
22 | * @var EngineInterface |
||
23 | */ |
||
24 | private $templateEngine; |
||
25 | |||
26 | /** |
||
27 | * @var string |
||
28 | */ |
||
29 | private $template; |
||
30 | |||
31 | /** |
||
32 | * FormPostResponseMode constructor. |
||
33 | * |
||
34 | * @param EngineInterface $templateEngine |
||
35 | * @param string $template |
||
36 | */ |
||
37 | public function __construct(EngineInterface $templateEngine, string $template) |
||
42 | |||
43 | /** |
||
44 | * {@inheritdoc} |
||
45 | */ |
||
46 | public function render(string $redirect_uri, array $data): string |
||
56 | } |
||
57 |