1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- <?php
- declare(strict_types=1);
- namespace OCA\DAV\Events;
- use OCP\EventDispatcher\Event;
- class CalendarCreatedEvent extends Event {
-
- public function __construct(
- private int $calendarId,
- private array $calendarData,
- ) {
- parent::__construct();
- }
-
- public function getCalendarId(): int {
- return $this->calendarId;
- }
-
- public function getCalendarData(): array {
- return $this->calendarData;
- }
- }
|