1 | <?php |
||
17 | class MediaTranslation extends AbstractTranslation implements MediaTranslationInterface |
||
18 | { |
||
19 | /** @var int */ |
||
20 | protected $id; |
||
21 | |||
22 | /** @var string */ |
||
23 | protected $name; |
||
24 | |||
25 | /** @var string */ |
||
26 | protected $content; |
||
27 | |||
28 | /** @var string */ |
||
29 | protected $alt; |
||
30 | |||
31 | public function getId(): ?int |
||
35 | |||
36 | public function getName(): ?string |
||
40 | |||
41 | public function setName(?string $name): void |
||
45 | |||
46 | public function getContent(): ?string |
||
47 | { |
||
48 | return $this->content; |
||
49 | } |
||
50 | |||
51 | public function setContent(?string $content): void |
||
52 | { |
||
53 | $this->content = $content; |
||
54 | } |
||
55 | |||
56 | public function getAlt(): ?string |
||
60 | |||
61 | public function setAlt(?string $alt): void |
||
65 | } |
||
66 |