original_string: public function field()
      {
          $field = $this->getAttribute('field');
  
          if ($field || false === $field) {
              return $field;
          }
  
          return $this->getAttribute('relation');
      }
code: public function field()
      {
          $field = $this->getAttribute('field');
  
          if ($field || false === $field) {
              return $field;
          }
  
          return $this->getAttribute('relation');
      }
code_tokens: public function field ( ) { $ field = $ this -> getAttribute ( 'field' ) ; if ( $ field || false === $ field ) { return $ field ; } return $ this -> getAttribute ( 'relation' ) ; }
docstring: Returns the field key.
  
  @return mixed
docstring_tokens: Returns the field key .