Completed
Push — master ( 3ef484...ea5778 )
by Paweł
08:46
created

OccurStatus::setName()   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 1
1
<?php
2
3
/*
4
 * This file is part of the Superdesk Web Publisher Bridge Component.
5
 *
6
 * Copyright 2017 Sourcefabric z.ú. and contributors.
7
 *
8
 * For the full copyright and license information, please see the
9
 * AUTHORS and LICENSE files distributed with this source code.
10
 *
11
 * @copyright 2017 Sourcefabric z.ú
12
 * @license http://www.superdesk.org/license
13
 */
14
15
namespace SWP\Component\Bridge\Model\Event;
16
17
class OccurStatus implements OccurStatusInterface
18
{
19
    /**
20
     * @var int
21
     */
22
    protected $id;
23
24
    /**
25
     * @var string
26
     */
27
    protected $name;
28
29
    /**
30
     * @var string
31
     */
32
    protected $qcode;
33
34
    /**
35
     * {@inheritdoc}
36
     */
37
    public function getId()
38
    {
39
        return $this->id;
40
    }
41
42
    /**
43
     * {@inheritdoc}
44
     */
45
    public function getName()
46
    {
47
        return $this->name;
48
    }
49
50
    /**
51
     * {@inheritdoc}
52
     */
53
    public function setName($name)
54
    {
55
        $this->name = $name;
56
    }
57
58
    /**
59
     * {@inheritdoc}
60
     */
61
    public function getQcode()
62
    {
63
        return $this->qcode;
64
    }
65
66
    /**
67
     * {@inheritdoc}
68
     */
69
    public function setQcode($qcode)
70
    {
71
        $this->qcode = $qcode;
72
    }
73
}
74