Class ResponseHeaderBag
ResponseHeaderBag is a container for Response HTTP headers.
- Symfony\Component\HttpFoundation\HeaderBag implements IteratorAggregate, Countable
- Symfony\Component\HttpFoundation\ResponseHeaderBag
Namespace: Symfony\Component\HttpFoundation
Author: Fabien Potencier <fabien@symfony.com>
Api
Located at laravel/vendor/Symfony/Component/HttpFoundation/ResponseHeaderBag.php
Author: Fabien Potencier <fabien@symfony.com>
Api
Located at laravel/vendor/Symfony/Component/HttpFoundation/ResponseHeaderBag.php
public
|
|
public
string
|
|
public
array
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
#
removeCookie( string $name, string $path = '/', string $domain = null )
Removes a cookie from the array, but does not unset it in the browser |
public
array
|
#
getCookies( string $format =
Returns an array with all cookies |
public
|
#
clearCookie( string $name, string $path = '/', string $domain = null )
Clears a cookie in the browser |
public
string
|
#
makeDisposition( string $disposition, string $filename, string $filenameFallback = '' )
Generates a HTTP Content-Disposition field-value. |
protected
string
|
string |
COOKIES_FLAT
|
'flat' |
|
string |
COOKIES_ARRAY
|
'array' |
|
string |
DISPOSITION_ATTACHMENT
|
'attachment' |
|
string |
DISPOSITION_INLINE
|
'inline' |
protected
array
|
$computedCacheControl | array() |
|
protected
array
|
$cookies | array() |
|
protected
array
|
$headerNames | array() |
$cacheControl,
$headers
|