Download src/Shared/Domain/ValueObjects/StringValue.php from pnacorp/AIKEEDO: direct link, hf CLI and curl.
- Browser
- Download file 446 Bytes
-
https://huggingface.co/pnacorp/AIKEEDO/resolve/main/src/Shared/Domain/ValueObjects/StringValue.php
- Command line
-
hf download hf://pnacorp/AIKEEDO/src/Shared/Domain/ValueObjects/StringValue.php
-
curl -L -o StringValue.php https://huggingface.co/pnacorp/AIKEEDO/resolve/main/src/Shared/Domain/ValueObjects/StringValue.php
446 Bytes
| declare(strict_types=1); | |
| namespace Shared\Domain\ValueObjects; | |
| use JsonSerializable; | |
| class StringValue implements JsonSerializable | |
| { | |
| public readonly string $value; | |
| /** | |
| * @param string $value | |
| * @return void | |
| */ | |
| public function __construct(string $value) | |
| { | |
| $this->value = $value; | |
| } | |
| /** @inheritDoc */ | |
| public function jsonSerialize(): string | |
| { | |
| return $this->value; | |
| } | |
| } | |