Metadata   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 4
dl 0
loc 13
rs 10
c 0
b 0
f 0
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
A getData() 0 3 1
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\DataDomainBoard\Board\Prototype;
15
16
use Aggrego\DataDomainBoard\Board\Data;
17
use Aggrego\Domain\Board\Prototype\Metadata as DomainMetadata;
18
19
class Metadata implements DomainMetadata
20
{
21
    /** @var Data */
22
    private $data;
23
24
    public function __construct(Data $data)
25
    {
26
        $this->data = $data;
27
    }
28
29
    public function getData(): Data
30
    {
31
        return $this->data;
32
    }
33
}
34