Data   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 23
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 5
dl 0
loc 23
rs 10
c 0
b 0
f 0
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getHeader() 0 3 1
A setHeader() 0 5 1
1
<?php
2
3
/*
4
 * This file is part of datamolino client.
5
 *
6
 * (c) 2018 cwd.at GmbH <[email protected]>
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
12
declare(strict_types=1);
13
14
namespace Cwd\Datamolino\Model\Document;
15
16
class Data
17
{
18
    /** @var Header */
19
    private $header;
20
21
    /**
22
     * @return Header
23
     */
24
    public function getHeader(): Header
25
    {
26
        return $this->header;
27
    }
28
29
    /**
30
     * @param Header $header
31
     *
32
     * @return Data
33
     */
34
    public function setHeader(Header $header): Data
35
    {
36
        $this->header = $header;
37
38
        return $this;
39
    }
40
}
41