ResponseHeaderBag

ResponseHeaderBag

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.