You are here

interface ParserInterface in Google Search Appliance 8

Defines an interface for parsing GSA responses.

Hierarchy

Expanded class hierarchy of ParserInterface

All classes that implement ParserInterface

File

src/Service/ParserInterface.php, line 8

Namespace

Drupal\google_appliance\Service
View source
interface ParserInterface {

  /**
   * Parses response from GSA.
   *
   * @param string $xml
   *   Response body.
   * @param bool $useCached
   *   FALSE to re-parse and bypass static-cache.
   *
   * @return \Drupal\google_appliance\SearchResults\ResultSet
   *   Search response.
   */
  public function parseResponse($xml, $useCached = TRUE);

}

Members

Namesort descending Modifiers Type Description Overrides
ParserInterface::parseResponse public function Parses response from GSA. 1