original_string: protected function getFieldByColumn($column)
      {
          return $this->builder->fields()->first(
              function (Field $field) use ($column) {
                  if (is_array($field->column())) {
                      return in_array($column, $field->column(), true);
                  }
  
                  return $field->column() === $column;
              }
          );
      }
code: protected function getFieldByColumn($column)
      {
          return $this->builder->fields()->first(
              function (Field $field) use ($column) {
                  if (is_array($field->column())) {
                      return in_array($column, $field->column(), true);
                  }
  
                  return $field->column() === $column;
              }
          );
      }
code_tokens: protected function getFieldByColumn ( $ column ) { return $ this -> builder -> fields ( ) -> first ( function ( Field $ field ) use ( $ column ) { if ( is_array ( $ field -> column ( ) ) ) { return in_array ( $ column , $ field -> column ( ) , true ) ; } return $ field -> column ( ) === $ column ; } ) ; }
docstring: Find field object by column.
  
  @param $column
  
  @return mixed
docstring_tokens: Find field object by column .