Skip to content

Commit

Permalink
Documenting new method
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzo committed May 17, 2014
1 parent a7f2037 commit ddd4d87
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/Network/Session.php
Expand Up @@ -434,6 +434,12 @@ public function renew() {
session_regenerate_id(true);
}

/**
* Returns true if the session is no longer valid because the last time it was
* accessed was after the configured timeout.
*
* @return boolean
*/
protected function _timedOut() {
$time = $this->read('Config.time') ?: $this->_timeout;

Expand Down

0 comments on commit ddd4d87

Please sign in to comment.