string
write(Request $request, Response $response)
Writes a cache entry to the store for the given Request and Response. Existing entries are read and any that match the response are removed. This method calls write with the new list of cache entries.
Parameters Request $request A Request instance Response $response A Response instance Return Value string The key under which the response is stored Exceptions RuntimeException