[ Index ]

PHP Cross Reference of phpBB-3.3.7-deutsch




/vendor/symfony/http-foundation/ -> ResponseHeaderBag.php (summary)

(no description)

File Size: 343 lines (10 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

ResponseHeaderBag:: (16 methods):

Class: ResponseHeaderBag  - X-Ref

ResponseHeaderBag is a container for Response HTTP headers.

__construct(array $headers = [])   X-Ref
No description

allPreserveCase()   X-Ref
Returns the headers, with original capitalizations.

return: array An array of headers

allPreserveCaseWithoutCookies()   X-Ref
No description

replace(array $headers = [])   X-Ref

all()   X-Ref

set($key, $values, $replace = true)   X-Ref

remove($key)   X-Ref

hasCacheControlDirective($key)   X-Ref

getCacheControlDirective($key)   X-Ref

setCookie(Cookie $cookie)   X-Ref
No description

removeCookie($name, $path = '/', $domain = null)   X-Ref
Removes a cookie from the array, but does not unset it in the browser.

param: string $name
param: string $path
param: string $domain

getCookies($format = self::COOKIES_FLAT)   X-Ref
Returns an array with all cookies.

param: string $format
return: Cookie[]

clearCookie($name, $path = '/', $domain = null, $secure = false, $httpOnly = true)   X-Ref
Clears a cookie in the browser.

param: string $name
param: string $path
param: string $domain
param: bool   $secure
param: bool   $httpOnly
param: string $sameSite

makeDisposition($disposition, $filename, $filenameFallback = '')   X-Ref
Generates a HTTP Content-Disposition field-value.

param: string $disposition      One of "inline" or "attachment"
param: string $filename         A unicode string
param: string $filenameFallback A string containing only ASCII characters that
return: string A string suitable for use as a Content-Disposition field-value

computeCacheControlValue()   X-Ref
Returns the calculated value of the cache-control header.

This considers several other headers and calculates or modifies the
cache-control header to a sensible, conservative value.

return: string

initDate()   X-Ref
No description

Generated: Thu Mar 24 21:31:15 2022 Cross-referenced by PHPXref 0.7.1