public function SessionLimitCollisionEvent::__construct in Session Limit 8
Same name and namespace in other branches
- 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
Namespace
Drupal\session_limit\EventCode
public function __construct($sessionId, $account, $userActiveSessions, $userMaxSessions) {
$this->sessionId = $sessionId;
$this->account = $account;
$this->userActiveSessions = $userActiveSessions;
$this->userMaxSessions = $userMaxSessions;
}