*/ public const ALL = [self::ASK, self::AUTO, self::FULL]; public static function normalize(string $mode): string { return in_array($mode, self::ALL, true) ? $mode : self::ASK; } }