We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b40f67f commit 3e4e92cCopy full SHA for 3e4e92c
Router.php
@@ -302,7 +302,9 @@ function (ConfigCacheInterface $cache) {
302
}
303
);
304
305
- require_once $cache->getPath();
+ if (!class_exists($this->options['matcher_cache_class'], false)) {
306
+ require_once $cache->getPath();
307
+ }
308
309
return $this->matcher = new $this->options['matcher_cache_class']($this->context);
310
@@ -334,7 +336,9 @@ function (ConfigCacheInterface $cache) {
334
336
335
337
338
339
+ if (!class_exists($this->options['generator_cache_class'], false)) {
340
341
342
343
$this->generator = new $this->options['generator_cache_class']($this->context, $this->logger);
344
0 commit comments