You are here

public function TestSessionHandlerProxy::destroy in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/system/tests/modules/session_test/src/Session/TestSessionHandlerProxy.php \Drupal\session_test\Session\TestSessionHandlerProxy::destroy()
  2. 9 core/modules/system/tests/modules/session_test/src/Session/TestSessionHandlerProxy.php \Drupal\session_test\Session\TestSessionHandlerProxy::destroy()

File

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

Class

TestSessionHandlerProxy
Provides a test session handler proxy.

Namespace

Drupal\session_test\Session

Code

public function destroy($session_id) {
  return $this->sessionHandler
    ->destroy($session_id);
}