File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed
src/Symfony/Component/Routing Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -25,6 +25,11 @@ class Route implements \Serializable
25
25
*/
26
26
private $ pattern ;
27
27
28
+ /**
29
+ * @var string
30
+ */
31
+ private $ hostnamePattern ;
32
+
28
33
/**
29
34
* @var array
30
35
*/
@@ -45,11 +50,6 @@ class Route implements \Serializable
45
50
*/
46
51
private $ compiled ;
47
52
48
- /**
49
- * @var string
50
- */
51
- private $ hostnamePattern ;
52
-
53
53
private static $ compilers = array ();
54
8000
td>54
55
55
/**
@@ -85,6 +85,7 @@ public function serialize()
85
85
{
86
86
return serialize (array (
87
87
'pattern ' => $ this ->pattern ,
88
+ 'hostnamePattern ' => $ this ->hostnamePattern ,
88
89
'defaults ' => $ this ->defaults ,
89
90
'requirements ' => $ this ->requirements ,
90
91
'options ' => $ this ->options ,
@@ -95,6 +96,7 @@ public function unserialize($data)
95
96
{
96
97
$ data = unserialize ($ data );
97
98
$ this ->pattern = $ data ['pattern ' ];
99
+ $ this ->hostnamePattern = $ data ['hostnamePattern ' ];
98
100
$ this ->defaults = $ data ['defaults ' ];
99
101
$ this ->requirements = $ data ['requirements ' ];
100
102
$ this ->options = $ data ['options ' ];
You can’t perform that action at this time.
0 commit comments