interface ParserInterface in Google Search Appliance 8
Defines an interface for parsing GSA responses.
Hierarchy
- interface \Drupal\google_appliance\Service\ParserInterface
Expanded class hierarchy of ParserInterface
All classes that implement ParserInterface
File
- src/Service/ ParserInterface.php, line 8 
Namespace
Drupal\google_appliance\ServiceView 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
| Name   | Modifiers | Type | Description | Overrides | 
|---|---|---|---|---|
| ParserInterface:: | public | function | Parses response from GSA. | 1 | 
