original_string: protected function _normalizeKey($key)
      {
          try {
              return $this->_normalizeString($key);
          } catch (InvalidArgumentException $e) {
              throw $this->_createOutOfRangeException($this->__('Invalid key'), null, $e, $key);
          }
      }
code: protected function _normalizeKey($key)
      {
          try {
              return $this->_normalizeString($key);
          } catch (InvalidArgumentException $e) {
              throw $this->_createOutOfRangeException($this->__('Invalid key'), null, $e, $key);
          }
      }
code_tokens: protected function _normalizeKey ( $ key ) { try { return $ this -> _normalizeString ( $ key ) ; } catch ( InvalidArgumentException $ e ) { throw $ this -> _createOutOfRangeException ( $ this -> __ ( 'Invalid key' ) , null , $ e , $ key ) ; } }
docstring: 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.
docstring_tokens: Normalizes a key .