Download src/Plugin/Application/Commands/CountPluginsCommand.php from pnacorp/AIKEEDO: direct link, hf CLI and curl.
- Browser
- Download file 593 Bytes
-
https://huggingface.co/pnacorp/AIKEEDO/resolve/main/src/Plugin/Application/Commands/CountPluginsCommand.php
- Command line
-
hf download hf://pnacorp/AIKEEDO/src/Plugin/Application/Commands/CountPluginsCommand.php
-
curl -L -o CountPluginsCommand.php https://huggingface.co/pnacorp/AIKEEDO/resolve/main/src/Plugin/Application/Commands/CountPluginsCommand.php
593 Bytes
| declare(strict_types=1); | |
| namespace Plugin\Application\Commands; | |
| use Plugin\Application\CommandHandlers\CountPluginsCommandHandler; | |
| use Plugin\Domain\ValueObjects\Status; | |
| use Plugin\Domain\ValueObjects\Type; | |
| use Shared\Infrastructure\CommandBus\Attributes\Handler; | |
| (CountPluginsCommandHandler::class) | |
| class CountPluginsCommand | |
| { | |
| public ?Type $type = null; | |
| public ?Status $status = null; | |
| /** Search terms/query */ | |
| public ?string $query = null; | |
| public function setStatus(string $status): void | |
| { | |
| $this->status = Status::from($status); | |
| } | |
| } | |