withValue($value=null)
Sets the cookie value.
__toString()
Returns the string representation of the object.
expire()
Expire the cookie.
Class CookieJarWrapperTest.
getDomain()
Cookie domain.
withHttpOnly($httpOnly=null)
Sets if the cookie is http only.
rememberForLongTime()
Sets the expiration date to +5 years.
getHttpOnly()
True if the cookie is http only otherwise false.
getSecure()
True if it's secure cookie otherwise false.
getExpires()
Expiration date as unix timestamp.
withSecure($secure=null)
Sets if the cookie is a secure cookie or not.
getMaxAge()
Max age measured in seconds.
withPath($path=null)
Sets the cookie path.
withMaxAge($maxAge=null)
Maximal life time of the cookie in seconds.
withExpires($expires=null)
Sets the expiration date of the cookie.
if(!array_key_exists('domain', $_REQUEST)) $domain
withDomain($domain=null)
Sets the domain name for the cookie.