$session->timeout()
Gets or sets the session timeout
$session->timeout(int|false $timeout = null): int|false
Parameters
Name | Type | Default | Description |
---|---|---|---|
$timeout | int |false |
null |
Optional new timeout to set or false to disable timeout |
Return type
int
|false