Test Setup Failed
Push — master ( 5a41c6...66867e )
by Omid
05:34
created

VideoManager::getId()   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 MovingImage\Client\VMPro\Entity;
4
5
use JMS\Serializer\Annotation\Type;
6
use MovingImage\Meta\Interfaces\VideoManagerInterface;
7
8
/**
9
 * Class VideoManager.
10
 */
11
class VideoManager implements VideoManagerInterface
12
{
13
    /**
14
     * @Type("integer")
15
     */
16
    private $id;
17
18
    /**
19
     * @Type("string")
20
     */
21
    private $name;
22
23
    /**
24
     * @return int
25
     */
26
    public function getId()
27
    {
28
        return $this->id;
29
    }
30
31
    /**
32
     * @param $id integer
33
     *
34
     * @return VideoManager
35
     */
36
    public function setId($id)
37
    {
38
        $this->id = $id;
39
40
        return $this;
41
    }
42
43
    /**
44
     * @return string
45
     */
46
    public function getName()
47
    {
48
        return $this->name;
49
    }
50
51
    /**
52
     * @param $name string
53
     *
54
     * @return VideoManager
55
     */
56
    public function setName($name)
57
    {
58
        $this->name = $name;
59
60
        return $this;
61
    }
62
}
63