original_string: public function getColumn($name, $use_alias = false)
      {
          if ($use_alias) {
              foreach ($this->columns as $column) {
                  if (0 === strcasecmp($name, $column->getName($use_alias))) {
                      return $column;
                  }
              }
          } else {
              $key = strtolower($name);
              if (isset($this->columns[$key])) {
                  return $this->columns[$key];
              }
          }
  
          return null;
      }
code: public function getColumn($name, $use_alias = false)
      {
          if ($use_alias) {
              foreach ($this->columns as $column) {
                  if (0 === strcasecmp($name, $column->getName($use_alias))) {
                      return $column;
                  }
              }
          } else {
              $key = strtolower($name);
              if (isset($this->columns[$key])) {
                  return $this->columns[$key];
              }
          }
  
          return null;
      }
code_tokens: public function getColumn ( $ name , $ use_alias = false ) { if ( $ use_alias ) { foreach ( $ this -> columns as $ column ) { if ( 0 === strcasecmp ( $ name , $ column -> getName ( $ use_alias ) ) ) { return $ column ; } } } else { $ key = strtolower ( $ name ) ; if ( isset ( $ this -> columns [ $ key ] ) ) { return $ this -> columns [ $ key ] ; } } return null ; }
docstring: Gets the named column metadata.
  
  @param string $name column name
  @param bool   $use_alias
  
  @return ColumnSchema metadata of the named column. Null if the named column does not exist.
docstring_tokens: Gets the named column metadata .