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

FinalItem::getData()   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\ProgressiveBoard\Shard;
6
7
use Aggrego\Domain\Profile\Profile;
8
use Aggrego\Domain\Shared\ValueObject\Data;
9
use Aggrego\Domain\Shared\ValueObject\Uuid;
10
11
class FinalItem extends Item
12
{
13
    /** @var Data */
14
    private $data;
15
16
    public function __construct(Uuid $uuid, Profile $profile, Data $data)
17
    {
18
        parent::__construct($uuid, $profile);
19
        $this->data = $data;
20
    }
21
22
    public function getData(): Data
23
    {
24
        return $this->data;
25
    }
26
}
27