spreed/lib/Events/AttendeesEvent.php
Joas Schilling 1ccbf67da2
chore: Run SPDX convertor
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-04-26 13:02:15 +02:00

31 lines
551 B
PHP

<?php
declare(strict_types=1);
/**
* SPDX-FileCopyrightText: 2021 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
namespace OCA\Talk\Events;
use OCA\Talk\Model\Attendee;
use OCA\Talk\Room;
abstract class AttendeesEvent extends ARoomEvent {
/**
* @param Attendee[] $attendees
*/
public function __construct(
Room $room,
protected array $attendees,
) {
parent::__construct($room);
}
/**
* @return Attendee[]
*/
public function getAttendees(): array {
return $this->attendees;
}
}