TranslationMigration::getId()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 1
c 1
b 0
f 0
nc 1
nop 0
dl 0
loc 3
rs 10
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Locastic\SymfonyTranslationBundle\Model;
6
7
use DateTime;
8
9
class TranslationMigration implements TranslationMigrationInterface
10
{
11
    protected ?int $id = null;
12
13
    protected ?string $number = null;
14
15
    protected ?DateTime $createdAt = null;
16
17
    public function getId(): ?int
18
    {
19
        return $this->id;
20
    }
21
22
    public function getNumber(): ?string
23
    {
24
        return $this->number;
25
    }
26
27
    public function setNumber(?string $number): void
28
    {
29
        $this->number = $number;
30
    }
31
32
    public function getCreatedAt(): ?DateTime
33
    {
34
        return $this->createdAt;
35
    }
36
37
    public function setCreatedAt(?DateTime $createdAt): void
38
    {
39
        $this->createdAt = $createdAt;
40
    }
41
}
42