value, $default); } public function existsInEnv(): bool { return $this->loadFromEnv() !== null; } /** * @return string[] */ public static function values(): array { static $values; return $values ?? ($values = map(self::cases(), static fn (EnvVars $envVar) => $envVar->value)); } }