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