implement PromoteUserToAdmin use case
This commit is contained in:
parent
8cbc84b051
commit
ac7295faf3
2 changed files with 64 additions and 0 deletions
|
|
@ -0,0 +1,11 @@
|
|||
<?php
|
||||
|
||||
namespace App\User\UseCases\PromoteUserToAdmin;
|
||||
|
||||
class PromoteUserToAdminRequest
|
||||
{
|
||||
public function __construct(
|
||||
public int $targetUserId,
|
||||
public bool $requesterIsAdmin,
|
||||
) {}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue