Test Setup Failed
Push — master ( de81f2...3dc847 )
by Tomasz
02:50
created

SystemName::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 1
1
<?php
2
/**
3
 * Copyright
4
 */
5
namespace Hexarchium\CoreDomain\ValueObject;
6
7
8
class SystemName
9
{
10
    /** @var  string */
11
    private $name;
12
13
    /**
14
     * SystemName constructor.
15
     *
16
     * @param $name
17
     */
18
    public function __construct($name)
19
    {
20
        $this->name = $name;
21
    }
22
23
    /**
24
     * @return string
25
     */
26
    public function getName()
27
    {
28
        return $this->name;
29
    }
30
}