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