Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in
Toggle navigation
S
Silex
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
common
Silex
Commits
081a05b2
Commit
081a05b2
authored
Apr 02, 2013
by
Neranjen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use request context from silex
parent
803f809c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/Silex/LazyUrlMatcher.php
src/Silex/LazyUrlMatcher.php
+2
-2
No files found.
src/Silex/LazyUrlMatcher.php
View file @
081a05b2
...
@@ -11,7 +11,7 @@
...
@@ -11,7 +11,7 @@
namespace
Silex
;
namespace
Silex
;
use
Symfony\Component\Routing\RequestContext
;
use
Symfony\Component\Routing\RequestContext
as
SymfonyRequestContext
;
use
Symfony\Component\Routing\Matcher\UrlMatcherInterface
;
use
Symfony\Component\Routing\Matcher\UrlMatcherInterface
;
/**
/**
...
@@ -54,7 +54,7 @@ class LazyUrlMatcher implements UrlMatcherInterface
...
@@ -54,7 +54,7 @@ class LazyUrlMatcher implements UrlMatcherInterface
/**
/**
* {@inheritdoc}
* {@inheritdoc}
*/
*/
public
function
setContext
(
RequestContext
$context
)
public
function
setContext
(
Symfony
RequestContext
$context
)
{
{
$this
->
getUrlMatcher
()
->
setContext
(
$context
);
$this
->
getUrlMatcher
()
->
setContext
(
$context
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment