merged branch axhm3a/master (PR #8752)
This PR was merged into the master branch.
Discussion
----------
removed legacy artifact from Component/Routing/Router
Hey,
while using the ConfigCache component I noticed that there is a wrong call of isFresh() in Symfony\Component\Routing\Router. ConfigCache->isFresh() doesn't accept any parameters anymore.
cheers,
Daniel
Commits
-------
8b11ae7
removed legacy artifact from Component/Routing/Router
This commit is contained in:
commit
6526da88df
@ -234,7 +234,7 @@ class Router implements RouterInterface
|
|||||||
|
|
||||||
$class = $this->options['matcher_cache_class'];
|
$class = $this->options['matcher_cache_class'];
|
||||||
$cache = new ConfigCache($this->options['cache_dir'].'/'.$class.'.php', $this->options['debug']);
|
$cache = new ConfigCache($this->options['cache_dir'].'/'.$class.'.php', $this->options['debug']);
|
||||||
if (!$cache->isFresh($class)) {
|
if (!$cache->isFresh()) {
|
||||||
$dumper = $this->getMatcherDumperInstance();
|
$dumper = $this->getMatcherDumperInstance();
|
||||||
|
|
||||||
$options = array(
|
$options = array(
|
||||||
|
Reference in New Issue
Block a user