Passed
Pull Request — master (#35)
by
unknown
06:54
created

MollieCustomer   A

Complexity

Total Complexity 5

Size/Duplication

Total Lines 34
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 5
eloc 9
c 1
b 0
f 0
dl 0
loc 34
rs 10

5 Methods

Rating   Name   Duplication   Size   Complexity  
A getId() 0 3 1
A setProfileId() 0 3 1
A setEmail() 0 3 1
A getEmail() 0 3 1
A getProfileId() 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
 * another great project.
7
 * You can find more information about us on https://bitbag.shop and write us
8
 * an email on [email protected].
9
 */
10
11
declare(strict_types=1);
12
13
namespace BitBag\SyliusMolliePlugin\Entity;
14
15
use Sylius\Component\Resource\Model\ResourceInterface;
16
17
class MollieCustomer implements ResourceInterface, MollieCustomerInterface
18
{
19
    /** @var int */
20
    private $id;
21
22
    /** @var string */
23
    private $profileId;
24
25
    /** @var string */
26
    private $email;
27
28
    public function getId(): int
29
    {
30
        return $this->id;
31
    }
32
33
    public function getProfileId(): ?string
34
    {
35
        return $this->profileId;
36
    }
37
38
    public function setProfileId(string $profileId): void
39
    {
40
        $this->profileId = $profileId;
41
    }
42
43
    public function getEmail(): string
44
    {
45
        return $this->email;
46
    }
47
48
    public function setEmail(string $email): void
49
    {
50
        $this->email = $email;
51
    }
52
}
53