Item::getProfile()   A
last analyzed

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
 *
4
 * This file is part of the Aggrego.
5
 * (c) Tomasz Kunicki <[email protected]>
6
 *
7
 * For the full copyright and license information, please view the LICENSE
8
 * file that was distributed with this source code.
9
 *
10
 */
11
12
declare(strict_types = 1);
13
14
namespace Aggrego\FragmentedDataBoardDomain\Board\Shard;
15
16
use Aggrego\Domain\Profile\Profile;
17
18
abstract class Item
19
{
20
    /** @var Uuid */
21
    private $uuid;
22
23
    /** @var Profile */
24
    private $profile;
25
26
    public function __construct(Uuid $uuid, Profile $profile)
27
    {
28
        $this->uuid = $uuid;
29
        $this->profile = $profile;
30
    }
31
32
    public function getUuid(): Uuid
33
    {
34
        return $this->uuid;
35
    }
36
37
    public function getProfile(): Profile
38
    {
39
        return $this->profile;
40
    }
41
}
42