You are here

public function ParserInterface::parseResponse in Google Search Appliance 8

Parses response from GSA.

Parameters

string $xml: Response body.

bool $useCached: FALSE to re-parse and bypass static-cache.

Return value

\Drupal\google_appliance\SearchResults\ResultSet Search response.

1 method overrides ParserInterface::parseResponse()
Parser::parseResponse in src/Service/Parser.php
Parses response from GSA.

File

src/Service/ParserInterface.php, line 21

Class

ParserInterface
Defines an interface for parsing GSA responses.

Namespace

Drupal\google_appliance\Service

Code

public function parseResponse($xml, $useCached = TRUE);