mirror of
https://github.com/nextcloud/server.git
synced 2025-02-14 21:09:20 +00:00
![dependabot[bot]](/assets/img/avatar_default.png)
Bumps [nextcloud/coding-standard](https://github.com/nextcloud/coding-standard) from 1.3.1 to 1.3.2. - [Release notes](https://github.com/nextcloud/coding-standard/releases) - [Changelog](https://github.com/nextcloud/coding-standard/blob/master/CHANGELOG.md) - [Commits](https://github.com/nextcloud/coding-standard/compare/v1.3.1...v1.3.2) --- updated-dependencies: - dependency-name: nextcloud/coding-standard dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: provokateurin <kate@provokateurin.de>
34 lines
769 B
PHP
34 lines
769 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
/**
|
|
* SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors
|
|
* SPDX-License-Identifier: AGPL-3.0-or-later
|
|
*/
|
|
namespace OCA\DAV\CalDAV\Reminder;
|
|
|
|
use OCP\IUser;
|
|
use Sabre\VObject\Component\VEvent;
|
|
|
|
/**
|
|
* Interface INotificationProvider
|
|
*
|
|
* @package OCA\DAV\CalDAV\Reminder
|
|
*/
|
|
interface INotificationProvider {
|
|
|
|
/**
|
|
* Send notification
|
|
*
|
|
* @param VEvent $vevent
|
|
* @param string|null $calendarDisplayName
|
|
* @param string[] $principalEmailAddresses All email addresses associated to the principal owning the calendar object
|
|
* @param IUser[] $users
|
|
* @return void
|
|
*/
|
|
public function send(VEvent $vevent,
|
|
?string $calendarDisplayName,
|
|
array $principalEmailAddresses,
|
|
array $users = []): void;
|
|
}
|