Completed
Push — master ( b94124...de69d3 )
by Tim
15:15
created

Territory::setNameZh()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 1
1
<?php
2
3
namespace SJBR\StaticInfoTables\Domain\Model;
4
5
/**
6
 * Territory
7
 */
8
class Territory extends AbstractEntity
9
{
10
    /**
11
     * Chinese name of the territory
12
     *
13
     * @var string
14
     */
15
    protected $nameZh = '';
16
17
    /**
18
     * Sets the Chinese name of the territory
19
     */
20
    public function setNameZh(string $nameZh):void
21
    {
22
        $this->nameZh = $nameZh;
23
    }
24
25
    /**
26
     * Returns the Chinese name of the territory
27
     */
28
    public function getNameZh():string
29
    {
30
        return $this->nameZh;
31
    }
32
}
33