cloud_bbb/lib/Event/RoomEvent.php

21 lines
315 B
PHP

<?php
namespace OCA\BigBlueButton\Event;
use OCP\EventDispatcher\Event;
use OCA\BigBlueButton\Db\Room;
abstract class RoomEvent extends Event {
/** @var Room */
private $room;
public function __construct(Room $room) {
$this->room = $room;
}
public function getRoom(): Room {
return $this->room;
}
}