Total Complexity | 7 |
Total Lines | 47 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
15 | class BlockTranslation extends AbstractTranslation implements BlockTranslationInterface |
||
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 $link; |
||
28 | |||
29 | public function getName(): ?string |
||
30 | { |
||
31 | return $this->name; |
||
32 | } |
||
33 | |||
34 | public function setName(?string $name): void |
||
35 | { |
||
36 | $this->name = $name; |
||
37 | } |
||
38 | |||
39 | public function getContent(): ?string |
||
42 | } |
||
43 | |||
44 | public function setContent(?string $content): void |
||
45 | { |
||
46 | $this->content = $content; |
||
47 | } |
||
48 | |||
49 | public function getId(): ?int |
||
50 | { |
||
51 | return $this->id; |
||
52 | } |
||
53 | |||
54 | public function getLink(): ?string |
||
57 | } |
||
58 | |||
59 | public function setLink(?string $link): void |
||
62 | } |
||
63 | } |
||
64 |