Completed
Push — master ( 804716...5e83b7 )
by Tomasz
03:36
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
10
class Item
11
{
12
    /** @var Profile */
13
    private $profile;
14
15
    /** @var Key */
16
    private $key;
17
18
    public function __construct(Profile $profile, Key $key)
19
    {
20
        $this->profile = $profile;
21
        $this->key = $key;
22
    }
23
24
    public function getProfile(): Profile
25
    {
26
        return $this->profile;
27
    }
28
29
    public function getKey(): Key
30
    {
31
        return $this->key;
32
    }
33
}
34