Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Neos
Flow
Tests
Unit
Http
CookieTest
invalidExpiresParameters
Neos\Flow\Tests\Unit\Http\CookieTest::invalidExpiresParameters PHP Method
CookieTest Class Documentation
Show file
Open project: neos/flow-development-collection
invalidExpiresParameters()
public
method
public
invalidExpiresParameters
( ) :
array
return
array
public function invalidExpiresParameters() { return [['foo'], ['-1'], [new \stdClass()], [false]]; }
CookieTest
constructorAcceptsValidCookieNames
constructorThrowsExceptionOnInvalidCookieNames
constructorThrowsExceptionOnInvalidDomain
constructorThrowsExceptionOnInvalidExpiresParameter
constructorThrowsExceptionOnInvalidMaximumAgeParameter
constructorThrowsExceptionOnInvalidPath
cookiesAndTheirStringRepresentations
createCookieFromRawAssumesDefaultPathIfNoLeadingSlashIsPresent
createCookieFromRawAssumesExpiryDateZeroIfItCannotBeParsed
createCookieFromRawDoesntCareAboutUnkownAttributeValues
createCookieFromRawIgnoresDomainAttributeIfValueIsEmpty
createCookieFromRawIgnoresMaxAgeIfInvalid
createCookieFromRawLowerCasesDomainName
createCookieFromRawParsesExpiryDateCorrectly
createCookieFromRawParsesMaxAgeCorrectly
createCookieFromRawRemovesLeadingDotForDomainIfPresent
createCookieFromRawReturnsNullIfBasicNameOrValueAreNotSatisfied
createCookieFromRawSetsHttpOnlyIfPresent
createCookieFromRawSetsSecureIfPresent
createCookieFromRawUsesPathCorrectly
getDomainReturnsDomain
getExpiresAlwaysReturnsAUnixTimestamp
getMaximumAgeReturnsTheMaximumAge
getPathReturnsPath
getValueReturnsTheSetValue
invalidCookieNames
invalidDomains
invalidExpiresParameters
invalidPaths
isExpiredTellsIfTheCookieIsExpired
isHttpOnlyReturnsHttpOnlyFlag
isSecureReturnsSecureFlag
stringRepresentationOfCookieIsValidSetCookieFieldValue
validCookieNames