MollieLogger::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
cc 1
eloc 1
nc 1
nop 0
dl 0
loc 3
rs 10
c 0
b 0
f 0
1
<?php
2
3
/*
4
 * This file has been created by developers from BitBag.
5
 * Feel free to contact us once you face any issues or want to start
6
 * You can find more information about us on https://bitbag.io and write us
7
 * an email on [email protected].
8
 */
9
10
declare(strict_types=1);
11
12
namespace BitBag\SyliusMolliePlugin\Entity;
13
14
class MollieLogger implements MollieLoggerInterface
15
{
16
    /** @var int */
17
    protected $id;
18
19
    /** @var int */
20
    protected $level;
21
22
    /** @var int */
23
    protected $errorCode;
24
25
    /** @var string */
26
    protected $message;
27
28
    /** @var \DateTime */
29
    protected $dateTime;
30
31
    public function getId(): int
32
    {
33
        return $this->id;
34
    }
35
36
    public function getLevel(): int
37
    {
38
        return $this->level;
39
    }
40
41
    public function setLevel(int $level): void
42
    {
43
        $this->level = $level;
44
    }
45
46
    public function getErrorCode(): int
47
    {
48
        return $this->errorCode;
49
    }
50
51
    public function setErrorCode(int $errorCode): void
52
    {
53
        $this->errorCode = $errorCode;
54
    }
55
56
    public function getMessage(): string
57
    {
58
        return $this->message;
59
    }
60
61
    public function setMessage(string $message): void
62
    {
63
        $this->message = $message;
64
    }
65
66
    public function getDateTime(): \DateTime
67
    {
68
        return $this->dateTime;
69
    }
70
71
    public function setDateTime(\DateTime $dateTime): void
72
    {
73
        $this->dateTime = $dateTime;
74
    }
75
}
76