public static function parseChartMask($mask)
    {
        $result     = [];
        $arrayParts = explode('|', $mask);
        foreach ($arrayParts as $partOfMask) {
            $arrayLib = explode('~', $partOfMask);
            $result[] = ['size' => (int)$arrayLib[0], 'suffixe' => $arrayLib[1]];
        }

        return $result;
    }
public static function parseChartMask($mask)
    {
        $result     = [];
        $arrayParts = explode('|', $mask);
        foreach ($arrayParts as $partOfMask) {
            $arrayLib = explode('~', $partOfMask);
            $result[] = ['size' => (int)$arrayLib[0], 'suffixe' => $arrayLib[1]];
        }

        return $result;
    }
public static function parseChartMask ( $ mask ) { $ result = [ ] ; $ arrayParts = explode ( '|' , $ mask ) ; foreach ( $ arrayParts as $ partOfMask ) { $ arrayLib = explode ( '~' , $ partOfMask ) ; $ result [ ] = [ 'size' => ( int ) $ arrayLib [ 0 ] , 'suffixe' => $ arrayLib [ 1 ] ] ; } return $ result ; }
Parse a type of a libRecord

@param string $mask

@return array
Parse a type of a libRecord