Completed
Push — master ( c5d644...a435b5 )
by Guillaume
02:45
created

LeadSerialisation::setSerialisation()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 6
rs 9.4285
c 0
b 0
f 0
cc 1
eloc 3
nc 1
nop 1
1
<?php
2
3
namespace Starkerxp\LeadBundle\Entity;
4
5
use Doctrine\ORM\Mapping as ORM;
6
7
/**
8
 * Serialisation
9
 * @ORM\Table(name="lead_serialisation")
10
 * @ORM\Entity()
11
 */
12
class LeadSerialisation
13
{
14
    use \Starkerxp\StructureBundle\Entity\IdTrait;
15
16
    /**
17
     * @var array
18
     *
19
     * @ORM\Column(name="serialisation", type="json_array")
20
     */
21
    protected $serialisation;
22
23
    /**
24
     * Get serialisation
25
     *
26
     * @return array
27
     */
28
    public function getSerialisation()
29
    {
30
        return $this->serialisation;
31
    }
32
33
    /**
34
     * Set serialisation
35
     *
36
     * @param array $serialisation
37
     * @return LeadSerialisation
38
     */
39
    public function setSerialisation($serialisation)
40
    {
41
        $this->serialisation = $serialisation;
42
43
        return $this;
44
    }
45
46
}
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...
47