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