Download src/User/Application/Commands/DeleteUserCommand.php from pnacorp/AIKEEDO: direct link, hf CLI and curl.
- Browser
- Download file 408 Bytes
-
https://huggingface.co/pnacorp/AIKEEDO/resolve/main/src/User/Application/Commands/DeleteUserCommand.php
- Command line
-
hf download hf://pnacorp/AIKEEDO/src/User/Application/Commands/DeleteUserCommand.php
-
curl -L -o DeleteUserCommand.php https://huggingface.co/pnacorp/AIKEEDO/resolve/main/src/User/Application/Commands/DeleteUserCommand.php
408 Bytes
| declare(strict_types=1); | |
| namespace User\Application\Commands; | |
| use Shared\Domain\ValueObjects\Id; | |
| use Shared\Infrastructure\CommandBus\Attributes\Handler; | |
| use User\Application\CommandHandlers\DeleteUserCommandHandler; | |
| (DeleteUserCommandHandler::class) | |
| class DeleteUserCommand | |
| { | |
| public Id $id; | |
| public function __construct(string $id) | |
| { | |
| $this->id = new Id($id); | |
| } | |
| } | |