public static function getFormatPatternByGostType($gost_type)
    {
        foreach (static::$patterns_and_types_map as $format_pattern => $gost_types) {
            foreach ((array) $gost_types as $iterated_gost_type) {
                if ($iterated_gost_type === $gost_type) {
                    return $format_pattern;
                }
            }
        }
    }
public static function getFormatPatternByGostType($gost_type)
    {
        foreach (static::$patterns_and_types_map as $format_pattern => $gost_types) {
            foreach ((array) $gost_types as $iterated_gost_type) {
                if ($iterated_gost_type === $gost_type) {
                    return $format_pattern;
                }
            }
        }
    }
public static function getFormatPatternByGostType ( $ gost_type ) { foreach ( static :: $ patterns_and_types_map as $ format_pattern => $ gost_types ) { foreach ( ( array ) $ gost_types as $ iterated_gost_type ) { if ( $ iterated_gost_type === $ gost_type ) { return $ format_pattern ; } } } }
Get pattern format by passed GOST type.

@param string $gost_type

@return string|null
Get pattern format by passed GOST type .