Form::getName()   A
last analyzed

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 Starkerxp\LeadBundle\Entity;
4
5
use Doctrine\ORM\Mapping as ORM;
6
use Starkerxp\StructureBundle\Entity\AbstractUser;
7
8
/**
9
 * Lead
10
 *
11
 * @ORM\Table(name="form", indexes={
12
 *  @ORM\Index(columns={"name"}),
13
 *  @ORM\Index(columns={"uuid"}),
14
 *  @ORM\Index(columns={"created_at"}),
15
 *  @ORM\Index(columns={"updated_at"})
16
 * })
17
 * @ORM\Entity(repositoryClass="Starkerxp\LeadBundle\Repository\FormRepository")
18
 */
19
class Form extends AbstractUser
20
{
21
    /**
22
     * @var string
23
     *
24
     * @ORM\Column(name="name", type="string", length=255, nullable=false)
25
     */
26
    protected $name;
27
28
    /**
29
     * @var array
30
     *
31
     * @ORM\Column(name="configuration", type="json_array", nullable=false)
32
     */
33
    protected $configuration;
34
35
    /**
36
     * @return string
37
     */
38
    public function getName()
39
    {
40
        return $this->name;
41
    }
42
43
    /**
44
     * @param string $name
45
     */
46
    public function setName($name)
47
    {
48
        $this->name = $name;
49
    }
50
51
    /**
52
     * @return array
53
     */
54
    public function getConfiguration()
55
    {
56
        return $this->configuration;
57
    }
58
59
    /**
60
     * @param array $configuration
61
     */
62
    public function setConfiguration($configuration)
63
    {
64
        $this->configuration = $configuration;
65
    }
66
67
68
}
0 ignored issues
show
Coding Style introduced by
As per coding style, files should not end with a newline character.

This check marks files that end in a newline character, i.e. an empy line.

Loading history...
69