Completed
Pull Request — master (#98)
by Christopher
05:13
created

Id::getLang()   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 0
1
<?php
2
3
namespace AlgoWeb\ODataMetadata\Atom;
4
5
/**
6
 * Class representing Id
7
 */
8
class Id
9
{
10
11
    /**
12
     * @property string $base
13
     */
14
    private $base = null;
15
16
    /**
17
     * @property string $lang
18
     */
19
    private $lang = null;
20
21
    /**
22
     * Gets as base
23
     *
24
     * @return string
25
     */
26
    public function getBase()
27
    {
28
        return $this->base;
29
    }
30
31
    /**
32
     * Sets a new base
33
     *
34
     * @param string $base
35
     * @return self
36
     */
37
    public function setBase($base)
38
    {
39
        $this->base = $base;
40
        return $this;
41
    }
42
43
    /**
44
     * Gets as lang
45
     *
46
     * @return string
47
     */
48
    public function getLang()
49
    {
50
        return $this->lang;
51
    }
52
53
    /**
54
     * Sets a new lang
55
     *
56
     * @param string $lang
57
     * @return self
58
     */
59
    public function setLang($lang)
60
    {
61
        $this->lang = $lang;
62
        return $this;
63
    }
64
}
65