original_string: public function getColumn($columnKey) : TableDataColumn
      {
          $this->validateColumnKey(__METHOD__, $columnKey);
          $this->loadColumns();
  
          $columnHash = ValueHasher::hash($columnKey);
  
          if (!isset($this->columns[$columnHash])) {
              throw InvalidArgumentException::format(
                  'Invalid column key supplied to %s: expecting one of hashes (%s), value with \'%s\' hash given',
                  __METHOD__, Debug::formatValues(array_keys($this->columns)), $columnHash
              );
          }
  
          return $this->columns[$columnHash];
      }
code: public function getColumn($columnKey) : TableDataColumn
      {
          $this->validateColumnKey(__METHOD__, $columnKey);
          $this->loadColumns();
  
          $columnHash = ValueHasher::hash($columnKey);
  
          if (!isset($this->columns[$columnHash])) {
              throw InvalidArgumentException::format(
                  'Invalid column key supplied to %s: expecting one of hashes (%s), value with \'%s\' hash given',
                  __METHOD__, Debug::formatValues(array_keys($this->columns)), $columnHash
              );
          }
  
          return $this->columns[$columnHash];
      }
code_tokens: public function getColumn ( $ columnKey ) : TableDataColumn { $ this -> validateColumnKey ( __METHOD__ , $ columnKey ) ; $ this -> loadColumns ( ) ; $ columnHash = ValueHasher :: hash ( $ columnKey ) ; if ( ! isset ( $ this -> columns [ $ columnHash ] ) ) { throw InvalidArgumentException :: format ( 'Invalid column key supplied to %s: expecting one of hashes (%s), value with \'%s\' hash given' , __METHOD__ , Debug :: formatValues ( array_keys ( $ this -> columns ) ) , $ columnHash ) ; } return $ this -> columns [ $ columnHash ] ; }
docstring: Gets the table column with the supplied key.
  
  @param mixed $columnKey
  
  @return TableDataColumn
  @throws InvalidArgumentException
  @throws TypeMismatchException
docstring_tokens: Gets the table column with the supplied key .