implement CreateComment use case

This commit is contained in:
Yisroel Baum 2026-05-06 22:14:55 +03:00
parent 2557c9b6a9
commit e8d2ff3fdf
Signed by: yisroelbaum
GPG key ID: 0FA60884F75520A9
2 changed files with 61 additions and 0 deletions

View file

@ -0,0 +1,12 @@
<?php
namespace App\Comment\UseCases\CreateComment;
class CreateCommentRequest
{
public function __construct(
public int $postId,
public int $userId,
public ?string $body,
) {}
}