Completed
Push — master ( a0580c...57df1c )
by Tomasz
01:44
created

Item::getUuid()   A

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
declare(strict_types = 1);
4
5
namespace Aggrego\Domain\Profile\BoardConstruction\InitialBoardModel\Shard;
6
7
use Aggrego\Domain\Profile\Profile;
8
use Aggrego\Domain\Shared\ValueObject\Key;
9
use Aggrego\Domain\Shared\ValueObject\Uuid;
10
11
class Item
12
{
13
    /** @var Uuid */
14
    private $uuid;
15
16
    /** @var Profile */
17
    private $profile;
18
19
    /** @var Key */
20
    private $key;
21
22
    public function __construct(Uuid $uuid, Profile $profile, Key $key)
23
    {
24
        $this->uuid = $uuid;
25
        $this->profile = $profile;
26
        $this->key = $key;
27
    }
28
29
    public function getUuid(): Uuid
30
    {
31
        return $this->uuid;
32
    }
33
34
    public function getProfile(): Profile
35
    {
36
        return $this->profile;
37
    }
38
39
    public function getKey(): Key
40
    {
41
        return $this->key;
42
    }
43
}
44