Flushes 'route' and 'resolve' caches.
public flushCaches ( ) : void | ||
return | void |
/** * @test */ public function flushCachesResetsBothRoutingCaches() { $this->mockRouteCache->expects($this->once())->method('flush'); $this->mockResolveCache->expects($this->once())->method('flush'); $this->routerCachingService->flushCaches(); }