BusinessPageReference::setEntityId()   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 1
1
<?php
2
3
namespace Victoire\Bundle\ViewReferenceBundle\ViewReference;
4
5
class BusinessPageReference extends ViewReference
0 ignored issues
show
introduced by
Missing class doc comment
Loading history...
6
{
7
    protected $entityId;
8
    protected $entityNamespace;
9
    protected $templateId;
10
    protected $businessEntity;
11
12
    /**
13
     * @return mixed
14
     */
15
    public function getEntityId()
16
    {
17
        return $this->entityId;
18
    }
19
20
    /**
21
     * @param mixed $entityId
22
     */
23
    public function setEntityId($entityId)
24
    {
25
        $this->entityId = $entityId;
26
    }
27
28
    /**
29
     * @deprecated
30
     *
31
     * @return mixed
32
     */
33
    public function getEntityNamespace()
34
    {
35
        return $this->entityNamespace;
36
    }
37
38
    /**
39
     * @deprecated
40
     *
41
     * @param mixed $entityNamespace
42
     */
43
    public function setEntityNamespace($entityNamespace)
44
    {
45
        $this->entityNamespace = $entityNamespace;
46
    }
47
48
    /**
49
     * @return mixed
50
     */
51
    public function getTemplateId()
52
    {
53
        return $this->templateId;
54
    }
55
56
    /**
57
     * @param mixed $templateId
58
     */
59
    public function setTemplateId($templateId)
60
    {
61
        $this->templateId = $templateId;
62
    }
63
64
    /**
65
     * @return mixed
66
     */
67
    public function getBusinessEntity()
68
    {
69
        return $this->businessEntity;
70
    }
71
72
    /**
73
     * @param mixed $businessEntity
74
     */
75
    public function setBusinessEntity($businessEntity)
76
    {
77
        $this->businessEntity = $businessEntity;
78
    }
79
}
80