UserSessionRepositoryInterface.php

Same filename and directory in other branches
  1. 11.x core/lib/Drupal/Core/Session/UserSessionRepositoryInterface.php

Namespace

Drupal\Core\Session

File

core/lib/Drupal/Core/Session/UserSessionRepositoryInterface.php

View source
<?php

declare (strict_types=1);
namespace Drupal\Core\Session;


/**
 * Provides an interface for the user session repository.
 */
interface UserSessionRepositoryInterface {
  
  /**
   * Delete all session records of the given user.
   *
   * @param int $uid
   *   The user id.
   */
  public function deleteAll(int $uid) : void;

}

Interfaces

Title Deprecated Summary
UserSessionRepositoryInterface Provides an interface for the user session repository.

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