2023-09-25 08:47:02 -04:00
|
|
|
<?php
|
2023-11-23 04:22:34 -05:00
|
|
|
|
2023-09-25 08:47:02 -04:00
|
|
|
declare(strict_types=1);
|
2023-11-30 05:53:47 -05:00
|
|
|
|
|
|
|
|
/**
|
2024-05-27 11:39:07 -04:00
|
|
|
* SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors
|
|
|
|
|
* SPDX-License-Identifier: AGPL-3.0-or-later
|
2023-09-25 08:47:02 -04:00
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
namespace OCA\DAV\CalDAV\FreeBusy;
|
|
|
|
|
|
|
|
|
|
use Sabre\VObject\Component\VCalendar;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @psalm-suppress PropertyNotSetInConstructor
|
|
|
|
|
*/
|
|
|
|
|
class FreeBusyGenerator extends \Sabre\VObject\FreeBusyGenerator {
|
|
|
|
|
|
|
|
|
|
public function __construct() {
|
|
|
|
|
parent::__construct();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public function getVCalendar(): VCalendar {
|
|
|
|
|
return new VCalendar();
|
|
|
|
|
}
|
|
|
|
|
}
|