original_string: public function getAttributes($position = 'field', $htmlBuild = true)
      {
          $result = array_get($this->attributes, $position, []);
          $result = $this->filterAttributes($result, $position);
  
          return $htmlBuild ? Html::attributes($result) : $result;
      }
code: public function getAttributes($position = 'field', $htmlBuild = true)
      {
          $result = array_get($this->attributes, $position, []);
          $result = $this->filterAttributes($result, $position);
  
          return $htmlBuild ? Html::attributes($result) : $result;
      }
code_tokens: public function getAttributes ( $ position = 'field' , $ htmlBuild = true ) { $ result = array_get ( $ this -> attributes , $ position , [ ] ) ; $ result = $ this -> filterAttributes ( $ result , $ position ) ; return $ htmlBuild ? Html :: attributes ( $ result ) : $ result ; }
docstring: Returns the attributes for this field at a given position.
  @param  string $position
  @return array
docstring_tokens: Returns the attributes for this field at a given position .