SectionTranslation::getId()   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 SectionTranslation extends AbstractTranslation implements SectionTranslationInterface
16
{
17
    /** @var int */
18
    protected $id;
19
20
    /** @var string|null */
21
    protected $name;
22
23
    public function getId(): ?int
24
    {
25
        return $this->id;
26
    }
27
28
    public function getName(): ?string
29
    {
30
        return $this->name;
31
    }
32
33
    public function setName(?string $name): void
34
    {
35
        $this->name = $name;
36
    }
37
}
38