| Total Complexity | 9 |
| Total Lines | 60 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 15 | class MediaTranslation extends AbstractTranslation implements MediaTranslationInterface |
||
| 16 | { |
||
| 17 | /** @var int */ |
||
| 18 | protected $id; |
||
| 19 | |||
| 20 | /** @var string|null */ |
||
| 21 | protected $name; |
||
| 22 | |||
| 23 | /** @var string|null */ |
||
| 24 | protected $content; |
||
| 25 | |||
| 26 | /** @var string|null */ |
||
| 27 | protected $alt; |
||
| 28 | |||
| 29 | /** @var string|null */ |
||
| 30 | protected $link; |
||
| 31 | |||
| 32 | public function getId(): ?int |
||
| 33 | { |
||
| 34 | return $this->id; |
||
| 35 | } |
||
| 36 | |||
| 37 | public function getName(): ?string |
||
| 38 | { |
||
| 39 | return $this->name; |
||
| 40 | } |
||
| 41 | |||
| 42 | public function setName(?string $name): void |
||
| 43 | { |
||
| 44 | $this->name = $name; |
||
| 45 | } |
||
| 46 | |||
| 47 | public function getContent(): ?string |
||
| 48 | { |
||
| 49 | return $this->content; |
||
| 50 | } |
||
| 51 | |||
| 52 | public function setContent(?string $content): void |
||
| 55 | } |
||
| 56 | |||
| 57 | public function getAlt(): ?string |
||
| 58 | { |
||
| 59 | return $this->alt; |
||
| 60 | } |
||
| 61 | |||
| 62 | public function setAlt(?string $alt): void |
||
| 63 | { |
||
| 64 | $this->alt = $alt; |
||
| 65 | } |
||
| 66 | |||
| 67 | public function getLink(): ?string |
||
| 70 | } |
||
| 71 | |||
| 72 | public function setLink(?string $link): void |
||
| 75 | } |
||
| 76 | } |
||
| 77 |