You are here

public function SessionLimitDisconnectEvent::__construct in Session Limit 8

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

SessionLimitCollisionEvent constructor.

Parameters

int $sessionId:

SessionLimitCollisionEvent $collisionEvent:

string $message:

File

src/Event/SessionLimitDisconnectEvent.php, line 37

Class

SessionLimitDisconnectEvent

Namespace

Drupal\session_limit\Event

Code

public function __construct($sessionId, SessionLimitCollisionEvent $collisionEvent, $message) {
  $this->sessionId = $sessionId;
  $this->collisionEvent = $collisionEvent;
  $this->message = $message;
}