SessionMetaData
class SessionMetaData (View source)
Methods
No description
No description
Create session metadata from classic cache format for backwards compatibility
No description
No description
No description
No description
Determine whether the metadata is equal in all aspects other than lastActivityTimestamp
Details
__construct(SessionIdentifier $sessionIdentifier, StorageIdentifier $storageIdentifier, int $lastActivityTimestamp, array $tags)
No description
static SessionMetaData
createWithTimestamp(int $timestamp)
No description
static SessionMetaData
createFromSessionIdentifierStringAndOldArrayCacheFormat(string $sessionIdentifier, array $data)
deprecated
deprecated this will be removed with Flow 10
Create session metadata from classic cache format for backwards compatibility
SessionMetaData
withLastActivityTimestamp(int $lastActivityTimestamp)
No description
SessionMetaData
withNewSessionIdentifier()
No description
SessionMetaData
withAddedTag(string $tag)
No description
SessionMetaData
withRemovedTag(string $tag)
No description
bool
isSame(SessionMetaData $other)
Determine whether the metadata is equal in all aspects other than lastActivityTimestamp
int|null
ageDifference(SessionMetaData $other)
Determine the age difference between the metadata items