protected function _normalizeKey($key)
    {
        try {
            return $this->_normalizeString($key);
        } catch (InvalidArgumentException $e) {
            throw $this->_createOutOfRangeException($this->__('Invalid key'), null, $e, $key);
        }
    }
protected function _normalizeKey($key)
    {
        try {
            return $this->_normalizeString($key);
        } catch (InvalidArgumentException $e) {
            throw $this->_createOutOfRangeException($this->__('Invalid key'), null, $e, $key);
        }
    }
protected function _normalizeKey ( $ key ) { try { return $ this -> _normalizeString ( $ key ) ; } catch ( InvalidArgumentException $ e ) { throw $ this -> _createOutOfRangeException ( $ this -> __ ( 'Invalid key' ) , null , $ e , $ key ) ; } }
Normalizes a key.

Treats it as one of many keys, throwing a more appropriate exception.

@param string|int|float|bool|Stringable $key The key to normalize.

@throws OutOfRangeException If key cannot be normalized.

@return string The normalized key.
Normalizes a key .