Completed
Push — master ( d1535f...93b502 )
by Leny
06:44
created

BusinessPageReference   A

Complexity

Total Complexity 6

Size/Duplication

Total Lines 54
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 6
c 1
b 0
f 0
lcom 0
cbo 1
dl 0
loc 54
rs 10

6 Methods

Rating   Name   Duplication   Size   Complexity  
A getEntityId() 0 4 1
A setEntityId() 0 4 1
A getEntityNamespace() 0 4 1
A setEntityNamespace() 0 4 1
A getTemplateId() 0 4 1
A setTemplateId() 0 4 1
1
<?php
2
3
namespace Victoire\Bundle\ViewReferenceBundle\ViewReference;
4
5
class BusinessPageReference extends ViewReference
6
{
7
    protected $entityId;
8
    protected $entityNamespace;
9
    protected $templateId;
10
11
    /**
12
     * @return mixed
13
     */
14
    public function getEntityId()
15
    {
16
        return $this->entityId;
17
    }
18
19
    /**
20
     * @param mixed $entityId
21
     */
22
    public function setEntityId($entityId)
23
    {
24
        $this->entityId = $entityId;
25
    }
26
27
    /**
28
     * @return mixed
29
     */
30
    public function getEntityNamespace()
31
    {
32
        return $this->entityNamespace;
33
    }
34
35
    /**
36
     * @param mixed $entityNamespace
37
     */
38
    public function setEntityNamespace($entityNamespace)
39
    {
40
        $this->entityNamespace = $entityNamespace;
41
    }
42
43
    /**
44
     * @return mixed
45
     */
46
    public function getTemplateId()
47
    {
48
        return $this->templateId;
49
    }
50
51
    /**
52
     * @param mixed $templateId
53
     */
54
    public function setTemplateId($templateId)
55
    {
56
        $this->templateId = $templateId;
57
    }
58
}
59