public flushCaches ( ) : void | ||
return | void |
public function flushCaches()
{
$this->routeCache->flush();
$this->resolveCache->flush();
}
/** * @test */ public function flushCachesResetsBothRoutingCaches() { $this->mockRouteCache->expects($this->once())->method('flush'); $this->mockResolveCache->expects($this->once())->method('flush'); $this->routerCachingService->flushCaches(); }