You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nextcloud-server/lib/public/Comments/Events/CommentDeletedEvent.php

28 lines
670 B

<?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 CommentRemovedEvent
*
* @since 33.0.0
*/
#[Consumable(since: '33.0.0')]
final class CommentDeletedEvent extends CommentsEvent {
/**
* CommentRemovedEvent constructor.
*/
public function __construct(IComment $comment) {
/** @psalm-suppress DeprecatedConstant */
parent::__construct(CommentsEvent::EVENT_DELETE, $comment);
}
}