Passed
Branch main (a47c5a)
by AOEPeople
15:53 queued 02:59
created

getDescription()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 1 Features 0
Metric Value
cc 1
eloc 1
c 1
b 1
f 0
nc 1
nop 0
dl 0
loc 3
rs 10
1
<?php
2
3
/***************************************************************
4
 *  Copyright notice
5
 *
6
 *  (c) 2016 AOE GmbH <[email protected]>
7
 *
8
 *  All rights reserved
9
 *
10
 *  This script is part of the TYPO3 project. The TYPO3 project is
11
 *  free software; you can redistribute it and/or modify
12
 *  it under the terms of the GNU General Public License as published by
13
 *  the Free Software Foundation; either version 3 of the License, or
14
 *  (at your option) any later version.
15
 *
16
 *  The GNU General Public License can be found at
17
 *  http://www.gnu.org/copyleft/gpl.html.
18
 *
19
 *  This script is distributed in the hope that it will be useful,
20
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
21
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
22
 *  GNU General Public License for more details.
23
 *
24
 *  This copyright notice MUST APPEAR in all copies of the script!
25
 ***************************************************************/
26
27
/**
28
 * @package FeatureFlag
29
 * @subpackage Domain_Model
30
 */
31
class Tx_FeatureFlag_Domain_Model_FeatureFlag extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity
32
{
33
    /**
34
     * @var string
35
     */
36
    protected $description;
37
38
    /**
39
     * @var string
40
     */
41
    protected $flag;
42
43
    /**
44
     * @var boolean
45
     */
46
    protected $enabled;
47
48
    /**
49
     * @param boolean $enabled
50
     */
51
    public function setEnabled($enabled)
52
    {
53
        $this->enabled = $enabled;
54
    }
55
56
    /**
57
     * @return boolean
58
     */
59
    public function isEnabled()
60
    {
61
        return $this->enabled;
62
    }
63
64
    /**
65
     * @param string $description
66
     */
67
    public function setDescription($description)
68
    {
69
        $this->description = $description;
70
    }
71
72
    /**
73
     * @return string
74
     */
75
    public function getDescription()
76
    {
77
        return $this->description;
78
    }
79
80
    /**
81
     * @param string $flag
82
     */
83
    public function setFlag($flag)
84
    {
85
        $this->flag = $flag;
86
    }
87
88
    /**
89
     * @return string
90
     */
91
    public function getFlag()
92
    {
93
        return $this->flag;
94
    }
95
}
96