protected function setValueMap(array $map)
    {
        $lower = array_change_key_case($map);
        $this->caseSensitive = count($lower) !== count($map);
        $this->valueMap = $this->caseSensitive ? $map : $lower;
    }
protected function setValueMap(array $map)
    {
        $lower = array_change_key_case($map);
        $this->caseSensitive = count($lower) !== count($map);
        $this->valueMap = $this->caseSensitive ? $map : $lower;
    }
protected function setValueMap ( array $ map ) { $ lower = array_change_key_case ( $ map ) ; $ this -> caseSensitive = count ( $ lower ) !== count ( $ map ) ; $ this -> valueMap = $ this -> caseSensitive ? $ map : $ lower ; }
Sets the value map and determines if it's case sensitive.
@param int[] $map List of values for digits
Sets the value map and determines if it s case sensitive .