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

SystemName   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 23
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 2
lcom 0
cbo 0
dl 0
loc 23
rs 10
c 0
b 0
f 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
A getName() 0 4 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
}