Methods

invalidNames()

invalidNames() 

testInstantiationThrowsExceptionIfCookieNameContainsInvalidCharacters()

testInstantiationThrowsExceptionIfCookieNameContainsInvalidCharacters(  $name) 

Parameters

$name

testInvalidExpiration()

testInvalidExpiration() 

testNegativeExpirationIsNotPossible()

testNegativeExpirationIsNotPossible() 

testGetValue()

testGetValue() 

testGetPath()

testGetPath() 

testGetExpiresTime()

testGetExpiresTime() 

testGetExpiresTimeIsCastToInt()

testGetExpiresTimeIsCastToInt() 

testConstructorWithDateTime()

testConstructorWithDateTime() 

testConstructorWithDateTimeImmutable()

testConstructorWithDateTimeImmutable() 

testGetExpiresTimeWithStringValue()

testGetExpiresTimeWithStringValue() 

testGetDomain()

testGetDomain() 

testIsSecure()

testIsSecure() 

testIsHttpOnly()

testIsHttpOnly() 

testCookieIsNotCleared()

testCookieIsNotCleared() 

testCookieIsCleared()

testCookieIsCleared() 

testToString()

testToString() 

testRawCookie()

testRawCookie() 

testGetMaxAge()

testGetMaxAge() 

testFromString()

testFromString() 

testFromStringWithHttpOnly()

testFromStringWithHttpOnly() 

testSameSiteAttributeIsCaseInsensitive()

testSameSiteAttributeIsCaseInsensitive()