original_string: protected function extractValueObjects(SearchResult $searchResult)
      {
          return array_map(
              function (SearchHit $searchHit) {
                  return $searchHit->valueObject;
              },
              $searchResult->searchHits
          );
      }
code: protected function extractValueObjects(SearchResult $searchResult)
      {
          return array_map(
              function (SearchHit $searchHit) {
                  return $searchHit->valueObject;
              },
              $searchResult->searchHits
          );
      }
code_tokens: protected function extractValueObjects ( SearchResult $ searchResult ) { return array_map ( function ( SearchHit $ searchHit ) { return $ searchHit -> valueObject ; } , $ searchResult -> searchHits ) ; }
docstring: Extracts value objects from SearchResult.
  
  @param \eZ\Publish\API\Repository\Values\Content\Search\SearchResult $searchResult
  
  @return \eZ\Publish\API\Repository\Values\ValueObject[]
docstring_tokens: Extracts value objects from SearchResult .