Download src/Ai/Domain/ValueObjects/Call.php from pnacorp/AIKEEDO: direct link, hf CLI and curl.
- Browser
- Download file 446 Bytes
-
https://huggingface.co/pnacorp/AIKEEDO/resolve/main/src/Ai/Domain/ValueObjects/Call.php
- Command line
-
hf download hf://pnacorp/AIKEEDO/src/Ai/Domain/ValueObjects/Call.php
-
curl -L -o Call.php https://huggingface.co/pnacorp/AIKEEDO/resolve/main/src/Ai/Domain/ValueObjects/Call.php
446 Bytes
| declare(strict_types=1); | |
| namespace Ai\Domain\ValueObjects; | |
| use JsonSerializable; | |
| use Override; | |
| class Call implements JsonSerializable | |
| { | |
| public function __construct( | |
| public readonly string $name, | |
| public readonly array $params, | |
| ) { | |
| } | |
| public function jsonSerialize(): array | |
| { | |
| return [ | |
| 'name' => $this->name, | |
| 'params' => $this->params, | |
| ]; | |
| } | |
| } | |