1 | <?php |
||
16 | final class FormatContext |
||
17 | { |
||
18 | /** |
||
19 | * @var string |
||
20 | */ |
||
21 | private $templateId; |
||
22 | |||
23 | /** |
||
24 | * @var string |
||
25 | */ |
||
26 | private $template; |
||
27 | |||
28 | /** |
||
29 | * @var Configuration |
||
30 | */ |
||
31 | private $data; |
||
32 | |||
33 | 1 | public function __construct(string $templateId, string $template, array $data) |
|
39 | |||
40 | 1 | public function templateId() : string |
|
44 | |||
45 | 1 | public function template() : string |
|
49 | |||
50 | 1 | public function data() : Configuration |
|
54 | |||
55 | 1 | public function formatter() : string |
|
59 | } |
||
60 |