function TestSessionHandlerProxy::gc

Same name in other branches
  1. 9 core/modules/system/tests/modules/session_test/src/Session/TestSessionHandlerProxy.php \Drupal\session_test\Session\TestSessionHandlerProxy::gc()
  2. 8.9.x core/modules/system/tests/modules/session_test/src/Session/TestSessionHandlerProxy.php \Drupal\session_test\Session\TestSessionHandlerProxy::gc()
  3. 10 core/modules/system/tests/modules/session_test/src/Session/TestSessionHandlerProxy.php \Drupal\session_test\Session\TestSessionHandlerProxy::gc()

File

core/modules/system/tests/modules/session_test/src/Session/TestSessionHandlerProxy.php, line 93

Class

TestSessionHandlerProxy
Provides a test session handler proxy.

Namespace

Drupal\session_test\Session

Code

public function gc($max_lifetime) : int|false {
    return $this->sessionHandler
        ->gc($max_lifetime);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.