$session->expiryTime()
Gets or sets the session expiry time Setting the expiry time also updates the duration and regenerates the session token
$session->expiryTime(string|int|null $expiryTime = null): int
Parameters
Name | Type | Default | Description |
---|---|---|---|
$expiryTime | string |int |null |
null |
Optional new expiry timestamp or time string to set |
Return type
int