*/ public static function moznosti(): array { return [ self::OSM => 'OpenStreetMap', self::MAPYCZ => 'Mapy.cz', self::MAPYCZ_LETECKA => 'Mapy.cz (letecká)', ]; } public static function platny(?string $hodnota): string { return array_key_exists((string) $hodnota, self::moznosti()) ? (string) $hodnota : self::VYCHOZI; } }