Download src/Ai/Domain/ValueObjects/Visibility.php from pnacorp/AIKEEDO: direct link, hf CLI and curl.
- Browser
- Download file 476 Bytes
-
https://huggingface.co/pnacorp/AIKEEDO/resolve/main/src/Ai/Domain/ValueObjects/Visibility.php
- Command line
-
hf download hf://pnacorp/AIKEEDO/src/Ai/Domain/ValueObjects/Visibility.php
-
curl -L -o Visibility.php https://huggingface.co/pnacorp/AIKEEDO/resolve/main/src/Ai/Domain/ValueObjects/Visibility.php
476 Bytes
| declare(strict_types=1); | |
| namespace Ai\Domain\ValueObjects; | |
| use JsonSerializable; | |
| use Override; | |
| enum Visibility: int implements JsonSerializable | |
| { | |
| /** Item is only visible to the owner */ | |
| case PRIVATE = 0; | |
| /** Item is visible to the owner and the workspace members */ | |
| case WORKSPACE = 1; | |
| /** Item is visible to everyone */ | |
| case PUBLIC = 2; | |
| public function jsonSerialize(): int | |
| { | |
| return $this->value; | |
| } | |
| } | |