SkuskuLangTest::setActive()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 2
c 1
b 0
f 0
nc 1
nop 1
dl 0
loc 4
rs 10
1
<?php
2
3
namespace GGGGino\SkuskuCartBundle\Tests\Entity;
4
5
use GGGGino\SkuskuCartBundle\Model\SkuskuLangInterface;
6
7
class SkuskuLangTest implements SkuskuLangInterface
8
{
9
    private $name = "Lang";
10
    private $active = true;
11
    private $isoCode = "ISOCODE";
12
    /**
13
     * @return string
14
     */
15
    public function getName()
16
    {
17
        return $this->name;
18
    }
19
20
    /**
21
     * @return bool
22
     */
23
    public function getActive()
24
    {
25
        return $this->active;
26
    }
27
28
    /**
29
     * @return string
30
     */
31
    public function getIsoCode()
32
    {
33
        return $this->isoCode;
34
    }
35
36
    /**
37
     * @param mixed $name
38
     * @return SkuskuLangTest
39
     */
40
    public function setName($name)
41
    {
42
        $this->name = $name;
43
        return $this;
44
    }
45
46
    /**
47
     * @param mixed $active
48
     * @return SkuskuLangTest
49
     */
50
    public function setActive($active)
51
    {
52
        $this->active = $active;
53
        return $this;
54
    }
55
56
    /**
57
     * @param mixed $isoCode
58
     * @return SkuskuLangTest
59
     */
60
    public function setIsoCode($isoCode)
61
    {
62
        $this->isoCode = $isoCode;
63
        return $this;
64
    }
65
}