original_string: public function standarize_solr_obj(\SolrObject $obj) {
          $properties = $obj->getPropertyNames();
  
          $docdata = array();
          foreach($properties as $name) {
              // http://php.net/manual/en/solrobject.getpropertynames.php#98018.
              $name = trim($name);
              $docdata[$name] = $obj->offsetGet($name);
          }
          return $docdata;
      }
code: public function standarize_solr_obj(\SolrObject $obj) {
          $properties = $obj->getPropertyNames();
  
          $docdata = array();
          foreach($properties as $name) {
              // http://php.net/manual/en/solrobject.getpropertynames.php#98018.
              $name = trim($name);
              $docdata[$name] = $obj->offsetGet($name);
          }
          return $docdata;
      }
code_tokens: public function standarize_solr_obj ( \ SolrObject $ obj ) { $ properties = $ obj -> getPropertyNames ( ) ; $ docdata = array ( ) ; foreach ( $ properties as $ name ) { // http://php.net/manual/en/solrobject.getpropertynames.php#98018. $ name = trim ( $ name ) ; $ docdata [ $ name ] = $ obj -> offsetGet ( $ name ) ; } return $ docdata ; }
docstring: Returns a standard php array from a \SolrObject instance.
  
  @param \SolrObject $obj
  @return array The returned document as an array.
docstring_tokens: Returns a standard php array from a \ SolrObject instance .