Total Complexity | 4 |
Total Lines | 42 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
16 | class GeneratedUrlAwareRouteContext extends RouteContext implements GeneratedUrlAwareInterface |
||
17 | { |
||
18 | /** |
||
19 | * @var int |
||
20 | */ |
||
21 | private $referenceType; |
||
22 | |||
23 | /** |
||
24 | * @var string |
||
25 | */ |
||
26 | private $generatedUrl; |
||
27 | |||
28 | /** |
||
29 | * {@inheritdoc} |
||
30 | */ |
||
31 | 30 | public function setReferenceType($referenceType) |
|
32 | { |
||
33 | 30 | $this->referenceType = $referenceType; |
|
34 | 30 | } |
|
35 | |||
36 | /** |
||
37 | * {@inheritdoc} |
||
38 | */ |
||
39 | 11 | public function getReferenceType() |
|
42 | } |
||
43 | |||
44 | /** |
||
45 | * {@inheritdoc} |
||
46 | */ |
||
47 | 10 | public function setGeneratedUrl($generatedUrl) |
|
48 | { |
||
49 | 10 | $this->generatedUrl = $generatedUrl; |
|
50 | 10 | } |
|
51 | |||
52 | /** |
||
53 | * {@inheritdoc} |
||
54 | */ |
||
55 | 21 | public function getGeneratedUrl() |
|
58 | } |
||
59 | } |
||
60 |