Class Cookie

Summary

Fully Qualified Name: Zend\Http\Header\Cookie
Extends: ArrayObject
Implements: HeaderInterface

Description

Methods

Name Description Defined By
__construct() Cookie
__toString() Get the cookie as a string, suitable for sending as a "Cookie" header in an HTTP request Cookie
fromSetCookieArray() Cookie
fromString() Cookie
getEncodeValue() Cookie
getFieldName() Cookie
getFieldValue() Cookie
setEncodeValue() Cookie
toString() Cookie

Method Details

__construct()

Parameter Name Type Description
$array

Returns: void

__toString()

Get the cookie as a string, suitable for sending as a "Cookie" header in an HTTP request

Returns: string

fromSetCookieArray()

Parameter Name Type Description
$setCookies

Returns: void

fromString()

Parameter Name Type Description
$headerLine

Returns: void

getEncodeValue()

Returns: bool

getFieldName()

Returns: void

getFieldValue()

Returns: void

setEncodeValue()

Parameter Name Type Description
$encodeValue bool

Returns: $this

toString()

Returns: void

Top