Completed
Pull Request — master (#229)
by
unknown
02:44
created

SetDefaultAddress::userEmail()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Sylius\ShopApiPlugin\Command;
6
7
final class SetDefaultAddress
8
{
9
    /**
10
     * @var mixed
11
     */
12
    private $id;
13
14
    /**
15
     * @var string
16
     */
17
    private $userEmail;
18
19
    /**
20
     * @param $id
21
     * @param string $userEmail
22
     */
23
    public function __construct($id, string $userEmail)
24
    {
25
        $this->id = $id;
26
        $this->userEmail = $userEmail;
27
    }
28
29
    /**
30
     * @return mixed
31
     */
32
    public function id()
33
    {
34
        return $this->id;
35
    }
36
37
    /**
38
     * @return string
39
     */
40
    public function userEmail()
41
    {
42
        return $this->userEmail;
43
    }
44
}
45