public static function typeMap(array $map = null, $merge = true)
    {
        if (is_array($map)) {
            static::$typeMap = $merge && static::$typeMap
                ? $map + static::$typeMap : $map;
        }

        return static::$typeMap;
    }
public static function typeMap(array $map = null, $merge = true)
    {
        if (is_array($map)) {
            static::$typeMap = $merge && static::$typeMap
                ? $map + static::$typeMap : $map;
        }

        return static::$typeMap;
    }
public static function typeMap ( array $ map = null , $ merge = true ) { if ( is_array ( $ map ) ) { static :: $ typeMap = $ merge && static :: $ typeMap ? $ map + static :: $ typeMap : $ map ; } return static :: $ typeMap ; }
Set or get the type map for attribute types.

@param array|null $map
@param bool       $merge

@return array
Set or get the type map for attribute types .