public function SessionLimitCollisionEvent::__construct in Session Limit 2.x
Same name and namespace in other branches
- 8 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;
}