FreeBusyGenerator.php 499 B

1234567891011121314151617181920212223242526
  1. <?php
  2. declare(strict_types=1);
  3. /**
  4. * SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors
  5. * SPDX-License-Identifier: AGPL-3.0-or-later
  6. */
  7. namespace OCA\DAV\CalDAV\FreeBusy;
  8. use Sabre\VObject\Component\VCalendar;
  9. /**
  10. * @psalm-suppress PropertyNotSetInConstructor
  11. */
  12. class FreeBusyGenerator extends \Sabre\VObject\FreeBusyGenerator {
  13. public function __construct() {
  14. parent::__construct();
  15. }
  16. public function getVCalendar(): VCalendar {
  17. return new VCalendar();
  18. }
  19. }