1 | <?php |
||
21 | class BlockTranslation extends AbstractTranslation implements BlockTranslationInterface |
||
22 | { |
||
23 | /** |
||
24 | * @var int |
||
25 | */ |
||
26 | protected $id; |
||
27 | |||
28 | /** |
||
29 | * @var null|string |
||
30 | */ |
||
31 | protected $name = null; |
||
32 | |||
33 | /** |
||
34 | * @var null|string |
||
35 | */ |
||
36 | protected $content; |
||
37 | |||
38 | /** |
||
39 | * @var null|ImageInterface |
||
40 | */ |
||
41 | protected $image; |
||
42 | |||
43 | /** |
||
44 | * @var null|string |
||
45 | */ |
||
46 | protected $link; |
||
47 | |||
48 | /** |
||
49 | * {@inheritdoc} |
||
50 | */ |
||
51 | public function getName(): ?string |
||
55 | |||
56 | /** |
||
57 | * {@inheritdoc} |
||
58 | */ |
||
59 | public function setName(?string $name): void |
||
63 | |||
64 | /** |
||
65 | * {@inheritdoc} |
||
66 | */ |
||
67 | public function getContent(): ?string |
||
71 | |||
72 | /** |
||
73 | * {@inheritdoc} |
||
74 | */ |
||
75 | public function setContent(?string $content): void |
||
79 | |||
80 | /** |
||
81 | * {@inheritdoc} |
||
82 | */ |
||
83 | public function getId(): int |
||
87 | |||
88 | /** |
||
89 | * {@inheritdoc} |
||
90 | */ |
||
91 | public function getImage(): ?ImageInterface |
||
95 | |||
96 | /** |
||
97 | * {@inheritdoc} |
||
98 | */ |
||
99 | public function setImage(?ImageInterface $image): void |
||
105 | |||
106 | /** |
||
107 | * {@inheritdoc} |
||
108 | */ |
||
109 | public function getLink(): ?string |
||
113 | |||
114 | /** |
||
115 | * {@inheritdoc} |
||
116 | */ |
||
117 | public function setLink(?string $link): void |
||
121 | } |
||
122 |