BlockTranslation::getContent()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 1
c 0
b 0
f 0
dl 0
loc 3
rs 10
cc 1
nc 1
nop 0
1
<?php
2
3
/*
4
 * This file was created by developers working at BitBag
5
 * Do you need more information about us and what we do? Visit our https://bitbag.io website!
6
 * We are hiring developers from all over the world. Join us and start your new, exciting adventure and become part of us: https://bitbag.io/career
7
*/
8
9
declare(strict_types=1);
10
11
namespace BitBag\SyliusCmsPlugin\Entity;
12
13
use Sylius\Component\Resource\Model\AbstractTranslation;
14
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
40
    {
41
        return $this->content;
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
55
    {
56
        return $this->link;
57
    }
58
59
    public function setLink(?string $link): void
60
    {
61
        $this->link = $link;
62
    }
63
}
64