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

Icon   A

Complexity

Total Complexity 4

Size/Duplication

Total Lines 57
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 4
lcom 0
cbo 0
dl 0
loc 57
rs 10
c 0
b 0
f 0

4 Methods

Rating   Name   Duplication   Size   Complexity  
A getBase() 0 4 1
A setBase() 0 5 1
A getLang() 0 4 1
A setLang() 0 5 1
1
<?php
2
3
namespace AlgoWeb\ODataMetadata\Atom;
4
5
/**
6
 * Class representing Icon
7
 */
8
class Icon
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