parent
cdf481a5f6
commit
1ce4f5526b
2 changed files with 2 additions and 0 deletions
|
@ -32,6 +32,7 @@ final class CachedResponse
|
||||||
/** @var Response|null $response */
|
/** @var Response|null $response */
|
||||||
$response = unserialize($serialized);
|
$response = unserialize($serialized);
|
||||||
$event->response = $response;
|
$event->response = $response;
|
||||||
|
|
||||||
$event->stopped = true;
|
$event->stopped = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -29,6 +29,7 @@ final class CachedRouteCollector
|
||||||
/** @var Handler[] $routes */
|
/** @var Handler[] $routes */
|
||||||
$routes = unserialize(file_get_contents(self::ROUTES_DIR));
|
$routes = unserialize(file_get_contents(self::ROUTES_DIR));
|
||||||
$event->routes = $routes;
|
$event->routes = $routes;
|
||||||
|
|
||||||
$event->stopped = true;
|
$event->stopped = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue