interface UserSessionRepositoryInterface
Same name and namespace in other branches
- 11.x core/lib/Drupal/Core/Session/UserSessionRepositoryInterface.php \Drupal\Core\Session\UserSessionRepositoryInterface
Provides an interface for the user session repository.
Hierarchy
- interface \Drupal\Core\Session\UserSessionRepositoryInterface
Expanded class hierarchy of UserSessionRepositoryInterface
All classes that implement UserSessionRepositoryInterface
2 files declare their use of UserSessionRepositoryInterface
- SessionManagerTest.php in core/
tests/ Drupal/ Tests/ Core/ Session/ SessionManagerTest.php - User.php in core/
modules/ user/ src/ Entity/ User.php
File
-
core/
lib/ Drupal/ Core/ Session/ UserSessionRepositoryInterface.php, line 10
Namespace
Drupal\Core\SessionView source
interface UserSessionRepositoryInterface {
/**
* Delete all session records of the given user.
*
* @param int $uid
* The user id.
*/
public function deleteAll(int $uid) : void;
}
Members
| Title Sort descending | Modifiers | Object type | Summary |
|---|---|---|---|
| UserSessionRepositoryInterface::deleteAll | public | function | Delete all session records of the given user. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.