You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: DynamicRouter.php
+13-13Lines changed: 13 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -59,15 +59,15 @@ class DynamicRouter implements RouterInterface, RequestMatcherInterface, Chained
59
59
protected$enhancers = array();
60
60
61
61
/**
62
-
* Cached sorted list of enhancers
62
+
* Cached sorted list of enhancers.
63
63
*
64
64
* @var RouteEnhancerInterface[]
65
65
*/
66
66
protected$sortedEnhancers = array();
67
67
68
68
/**
69
69
* The regexp pattern that needs to be matched before a dynamic lookup is
70
-
* made
70
+
* made.
71
71
*
72
72
* @var string
73
73
*/
@@ -99,7 +99,7 @@ public function __construct(RequestContext $context,
99
99
RouteProviderInterface$provider = null
100
100
) {
101
101
$this->context = $context;
102
-
if (!$matcherinstanceof RequestMatcherInterface && !$matcherinstanceof UrlMatcherInterface) {
102
+
if (!$matcherinstanceof RequestMatcherInterface && !$matcherinstanceof UrlMatcherInterface) {
103
103
thrownew \InvalidArgumentException('Matcher must implement either Symfony\Component\Routing\Matcher\RequestMatcherInterface or Symfony\Component\Routing\Matcher\UrlMatcherInterface');
104
104
}
105
105
$this->matcher = $matcher;
@@ -112,7 +112,7 @@ public function __construct(RequestContext $context,
112
112
}
113
113
114
114
/**
115
-
* {@inheritDoc}
115
+
* {@inheritdoc}
116
116
*/
117
117
publicfunctiongetRouteCollection()
118
118
{
@@ -181,9 +181,9 @@ public function generate($name, $parameters = array(), $referenceType = false)
181
181
}
182
182
183
183
/**
184
-
* Delegate to our generator
184
+
* Delegate to our generator.
185
185
*
186
-
* {@inheritDoc}
186
+
* {@inheritdoc}
187
187
*/
188
188
publicfunctionsupports($name)
189
189
{
@@ -216,19 +216,19 @@ public function supports($name)
216
216
publicfunctionmatch($pathinfo)
217
217
{
218
218
@trigger_error(__METHOD__.'() is deprecated since version 1.3 and will be removed in 2.0. Use matchRequest() instead.', E_USER_DEPRECATED);
0 commit comments