Completed
Push — master ( a40e80...ce60f3 )
by Tim
12s queued 10s
created

Questioncategory::getLanguageUid()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
3
declare(strict_types = 1);
4
/**
5
 * Questioncategory / Fragen Kategorie.
6
 */
7
8
namespace HDNET\Faq\Domain\Model;
9
10
/**
11
 * Questioncategory / Fragen Kategorie.
12
 *
13
 * @db
14
 */
15
class Questioncategory extends AbstractModel
16
{
17
    /**
18
     * Title.
19
     *
20
     * @var string
21
     * @db
22
     */
23
    protected $title;
24
25
    /**
26
     * Parent.
27
     *
28
     * @var \HDNET\Faq\Domain\Model\Questioncategory
29
     * @db  int(11) DEFAULT '0' NOT NULL
30
     */
31
    protected $parent;
32
33
    /**
34
     * @var int
35
     */
36
    protected $_languageUid = 0;
37
38
    /**
39
     * Set the title.
40
     *
41
     * @param string $title
42
     */
43
    public function setTitle($title)
44
    {
45
        $this->title = $title;
46
    }
47
48
    /**
49
     * Get the title.
50
     *
51
     * @return string
52
     */
53
    public function getTitle()
54
    {
55
        return $this->title;
56
    }
57
58
    /**
59
     * Set the parent.
60
     *
61
     * @param \HDNET\Faq\Domain\Model\Questioncategory $parent
62
     */
63
    public function setParent($parent)
64
    {
65
        $this->parent = $parent;
66
    }
67
68
    /**
69
     * Get the parent.
70
     *
71
     * @return \HDNET\Faq\Domain\Model\Questioncategory
72
     */
73
    public function getParent()
74
    {
75
        return $this->parent;
76
    }
77
78
    /**
79
     * Public getter for the languageUid
80
     * @return int
81
     */
82
    public function getLanguageUid()
83
    {
84
        return $this->_languageUid;
85
    }
86
}
87