ParserInterface.php in Google Search Appliance 8
Namespace
Drupal\google_appliance\ServiceFile
src/Service/ParserInterface.phpView source
<?php
namespace Drupal\google_appliance\Service;
/**
* Defines an interface for parsing GSA responses.
*/
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);
}
Interfaces
Name | Description |
---|---|
ParserInterface | Defines an interface for parsing GSA responses. |