mirror of
https://github.com/nextcloud/server.git
synced 2026-02-17 18:00:44 -05:00
29 lines
670 B
PHP
29 lines
670 B
PHP
|
|
<?php
|
||
|
|
|
||
|
|
/**
|
||
|
|
* SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors
|
||
|
|
* SPDX-FileCopyrightText: 2016 ownCloud, Inc.
|
||
|
|
* SPDX-License-Identifier: AGPL-3.0-only
|
||
|
|
*/
|
||
|
|
namespace OCP\Comments\Events;
|
||
|
|
|
||
|
|
use OCP\AppFramework\Attribute\Consumable;
|
||
|
|
use OCP\Comments\CommentsEvent;
|
||
|
|
use OCP\Comments\IComment;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Class CommentUpdatedEvent
|
||
|
|
*
|
||
|
|
* @since 33.0.0
|
||
|
|
*/
|
||
|
|
#[Consumable(since: '33.0.0')]
|
||
|
|
final class CommentUpdatedEvent extends CommentsEvent {
|
||
|
|
/**
|
||
|
|
* CommentUpdatedEvent constructor.
|
||
|
|
*/
|
||
|
|
public function __construct(IComment $comment) {
|
||
|
|
/** @psalm-suppress DeprecatedConstant */
|
||
|
|
parent::__construct(CommentsEvent::EVENT_UPDATE, $comment);
|
||
|
|
}
|
||
|
|
}
|