Download app/Enums/Contracts/WithStringBackedEnum.php from pnacorp/magicai: direct link, hf CLI and curl.
- Browser
- Download file 381 Bytes
-
https://huggingface.co/pnacorp/magicai/resolve/main/app/Enums/Contracts/WithStringBackedEnum.php
- Command line
-
hf download hf://pnacorp/magicai/app/Enums/Contracts/WithStringBackedEnum.php
-
curl -L -o WithStringBackedEnum.php https://huggingface.co/pnacorp/magicai/resolve/main/app/Enums/Contracts/WithStringBackedEnum.php
381 Bytes
| declare(strict_types=1); | |
| namespace App\Enums\Contracts; | |
| /** | |
| * @mixin \StringBackedEnum | |
| * | |
| * @property string $value | |
| * @property string $name | |
| */ | |
| interface WithStringBackedEnum | |
| { | |
| public function label(): string; | |
| public static function getLabel(WithStringBackedEnum $enum): string; | |
| public static function getLabels(?string $implode = null): array|string; | |
| } | |