MollieLogger   A
last analyzed

Complexity

Total Complexity 9

Size/Duplication

Total Lines 60
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 15
dl 0
loc 60
rs 10
c 0
b 0
f 0
wmc 9

9 Methods

Rating   Name   Duplication   Size   Complexity  
A setLevel() 0 3 1
A setMessage() 0 3 1
A getDateTime() 0 3 1
A setErrorCode() 0 3 1
A getLevel() 0 3 1
A getErrorCode() 0 3 1
A getMessage() 0 3 1
A setDateTime() 0 3 1
A getId() 0 3 1
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