1 | <?php |
||
12 | class TemplateContent extends ValueObject |
||
13 | { |
||
14 | /** |
||
15 | * @var \Netgen\InformationCollection\API\Value\Event\InformationCollected |
||
16 | */ |
||
17 | protected $event; |
||
18 | |||
19 | /** |
||
20 | * @var \Twig\TemplateWrapper |
||
21 | */ |
||
22 | protected $templateWrapper; |
||
23 | |||
24 | /** |
||
25 | * TemplateData constructor. |
||
26 | * |
||
27 | * @param \Netgen\InformationCollection\API\Value\Event\InformationCollected $event |
||
28 | * @param \Twig\TemplateWrapper $templateWrapper |
||
29 | */ |
||
30 | public function __construct(InformationCollected $event, TemplateWrapper $templateWrapper) |
||
35 | |||
36 | /** |
||
37 | * @return \Netgen\InformationCollection\API\Value\Event\InformationCollected |
||
38 | */ |
||
39 | public function getEvent(): InformationCollected |
||
43 | |||
44 | /** |
||
45 | * @return \eZ\Publish\API\Repository\Values\Content\Content |
||
46 | */ |
||
47 | public function getContent(): Content |
||
51 | |||
52 | /** |
||
53 | * @return \Twig\TemplateWrapper |
||
54 | */ |
||
55 | public function getTemplateWrapper(): TemplateWrapper |
||
59 | } |
||
60 |