Download src/Ai/Domain/ValueObjects/Instructions.php from pnacorp/AIKEEDO: direct link, hf CLI and curl.
- Browser
- Download file 551 Bytes
-
https://huggingface.co/pnacorp/AIKEEDO/resolve/main/src/Ai/Domain/ValueObjects/Instructions.php
- Command line
-
hf download hf://pnacorp/AIKEEDO/src/Ai/Domain/ValueObjects/Instructions.php
-
curl -L -o Instructions.php https://huggingface.co/pnacorp/AIKEEDO/resolve/main/src/Ai/Domain/ValueObjects/Instructions.php
551 Bytes
| declare(strict_types=1); | |
| namespace Ai\Domain\ValueObjects; | |
| use Doctrine\DBAL\Types\Types; | |
| use Doctrine\ORM\Mapping as ORM; | |
| use JsonSerializable; | |
| use Override; | |
| #[ORM\Embeddable] | |
| class Instructions implements JsonSerializable | |
| { | |
| #[ORM\Column(type: Types::TEXT, name: "instructions", nullable: true)] | |
| public readonly ?string $value; | |
| public function __construct(?string $value = null) | |
| { | |
| $this->value = $value; | |
| } | |
| public function jsonSerialize(): ?string | |
| { | |
| return $this->value; | |
| } | |
| } | |