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(); }