implement DeleteComment use case

This commit is contained in:
Yisroel Baum 2026-05-06 22:16:34 +03:00
parent 5bbef871db
commit d24bde3761
Signed by: yisroelbaum
GPG key ID: 0FA60884F75520A9
2 changed files with 54 additions and 0 deletions

View file

@ -0,0 +1,12 @@
<?php
namespace App\Comment\UseCases\DeleteComment;
class DeleteCommentRequest
{
public function __construct(
public int $commentId,
public int $requesterId,
public bool $requesterIsAdmin,
) {}
}