. * */ declare(strict_types=1); namespace OCA\Deck\Event; use OCP\EventDispatcher\Event; class SessionCreatedEvent extends Event { private $boardId; private $userId; public function __construct(int $boardId, string $userId) { parent::__construct(); $this->boardId = $boardId; $this->userId = $userId; } public function getBoardId(): int { return $this->boardId; } public function getUserId(): string { return $this->userId; } }