Store::write()

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
doc_Symfony
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.