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

Country::setShortNameZh()   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
 * Country
7
 */
8
class Country extends AbstractEntity
9
{
10
11
    /**
12
     * The Chinese short name
13
     *
14
     * @var string
15
     */
16
    protected $shortNameZh = '';
17
18
    /**
19
     * Sets the Chinese short name.
20
     */
21
    public function setShortNameZh(string $shortNameZh):void
22
    {
23
        $this->shortNameZh = $shortNameZh;
24
    }
25
26
    /**
27
     * Gets the Chinese short name.
28
     */
29
    public function getShortNameZh():string
30
    {
31
        return $this->shortNameZh;
32
    }
33
}
34