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.
withMaxAge(int $maxAge=null)
Maximal life time of the cookie in seconds.
withPath(string $path=null)
Sets the cookie path.
getDomain()
Cookie domain.
withValue(string $value=null)
Sets the cookie value.
withSecure(bool $secure=null)
Sets if the cookie is a secure cookie or not.
withHttpOnly(bool $httpOnly=null)
Sets if the cookie is http only.
withExpires($expires=null)
Sets the expiration date of the cookie.
expire()
Expire the cookie.
getMaxAge()
Max age measured in seconds.
withDomain(string $domain=null)
Sets the domain name for the cookie.
getSecure()
True if it's secure cookie otherwise false.
__toString()
Returns the string representation of the object.
Class CookieJarWrapperTest.