You are here

public function SessionLimitCollisionEvent::__construct in Session Limit 8

Same name and namespace in other branches
  1. 2.x src/Event/SessionLimitCollisionEvent.php \Drupal\session_limit\Event\SessionLimitCollisionEvent::__construct()

SessionLimitCollisionEvent constructor.

Parameters

int $sessionId:

AccountInterface $account:

int $userActiveSessions:

int $userMaxSessions:

File

src/Event/SessionLimitCollisionEvent.php, line 38

Class

SessionLimitCollisionEvent

Namespace

Drupal\session_limit\Event

Code

public function __construct($sessionId, $account, $userActiveSessions, $userMaxSessions) {
  $this->sessionId = $sessionId;
  $this->account = $account;
  $this->userActiveSessions = $userActiveSessions;
  $this->userMaxSessions = $userMaxSessions;
}