implement DeleteComment use case
This commit is contained in:
parent
5bbef871db
commit
d24bde3761
2 changed files with 54 additions and 0 deletions
|
|
@ -0,0 +1,12 @@
|
|||
<?php
|
||||
|
||||
namespace App\Comment\UseCases\DeleteComment;
|
||||
|
||||
class DeleteCommentRequest
|
||||
{
|
||||
public function __construct(
|
||||
public int $commentId,
|
||||
public int $requesterId,
|
||||
public bool $requesterIsAdmin,
|
||||
) {}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue