Completed
Push — master ( 736f3d...81c44f )
by Toni
03:39
created

Feature::getSettings()   A

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
c 1
b 0
f 0
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
/*
3
 * This file is part of the Adlogix package.
4
 *
5
 * (c) Allan Segebarth <[email protected]>
6
 * (c) Jean-Jacques Courtens <[email protected]>
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
12
namespace Adlogix\Zf2Rollout\Entity;
13
14
use Doctrine\ORM\Mapping as ORM;
15
16
/**
17
 * @author Richard Fullmer <[email protected]>
18
 *
19
 * @ORM\Table(name="rollout_feature")
20
 * @ORM\Entity()
21
 */
22
class Feature
23
{
24
    /**
25
     * @var string
26
     *
27
     * @ORM\Id
28
     * @ORM\Column(type="string")
29
     * @ORM\GeneratedValue(strategy="NONE")
30
     */
31
    private $name;
32
33
    /**
34
     * @var string
35
     *
36
     * @ORM\Column(type="text")
37
     */
38
    private $settings;
39
40
    /**
41
     * @return string
42
     */
43
    public function getName()
44
    {
45
        return $this->name;
46
    }
47
48
    /**
49
     * @param string $name
50
     */
51
    public function setName($name)
52
    {
53
        $this->name = $name;
54
    }
55
56
    /**
57
     * @return string
58
     */
59
    public function getSettings()
60
    {
61
        return $this->settings;
62
    }
63
64
    /**
65
     * @param string $settings
66
     */
67
    public function setSettings($settings)
68
    {
69
        $this->settings = $settings;
70
    }
71
}