wip-feat: reduces env vars, adds getting-started page
This commit is contained in:
16
src/User/Action/Command/RegisterUserCommand.php
Normal file
16
src/User/Action/Command/RegisterUserCommand.php
Normal file
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
namespace App\User\Action\Command;
|
||||
|
||||
use OneToMany\RichBundle\Contract\CommandInterface;
|
||||
|
||||
/** @implements CommandInterface<RegisterUserCommand> */
|
||||
class RegisterUserCommand implements CommandInterface
|
||||
{
|
||||
public function __construct(
|
||||
public string $name,
|
||||
public string $email,
|
||||
public string $username,
|
||||
public string $password,
|
||||
) {}
|
||||
}
|
||||
Reference in New Issue
Block a user