clearCookie(string $name, string $path = '/', string $domain = null, bool $secure = false, bool $httpOnly = true) Clears a cookie in the browser. Parameters string $name string $path string $domain bool $secure bool $httpOnly
array allPreserveCase() Returns the headers, with original capitalizations. Return Value array An array of headers
class ResponseHeaderBag extends HeaderBag ResponseHeaderBag is a container for Response HTTP headers. Constants COOKIES_FLAT COOKIES_ARRAY DISPOSITION_ATTACHMENT DISPOSITION_INLINE Methods __construct(array $headers = array()) Constructor. string __toString() Returns the headers as a string. array all() Returns the headers. from HeaderBag array keys() Returns the parameter keys. from HeaderBag replace(array $headers = array()) Replaces the current HTTP
update(Response $response) Updates the Response HTTP headers based on the embedded Responses. Parameters Response $response
add(Response $response) Adds a Response. Parameters Response $response
interface ResponseCacheStrategyInterface ResponseCacheStrategyInterface implementations know how to compute the Response cache HTTP header based on the different response cache headers. Methods add(Response $response) Adds a Response. update(Response $response) Updates the Response HTTP headers based on the embedded Responses. Details add(Response $response) Adds a Response. Parameters Response $response
class ResponseCacheStrategy implements ResponseCacheStrategyInterface ResponseCacheStrategy knows how to compute the Response cache HTTP header based on the different response cache headers. This implementation changes the master response TTL to the smallest TTL received or force validation if one of the surrogates has validation cache strategy. Methods add(Response $response) Adds a Response. update(Response $response) Updates the Response HTTP headers based on the embedded Respons
Response setVary(string|array $headers, bool $replace = true) Sets the Vary header. Parameters string|array $headers bool $replace Whether to replace the actual value or not (true by default) Return Value Response
Page 153 of 787