You are here

public function KeyMatch::__construct in Google Search Appliance 8

Constructs a new KeyMatch object.

Parameters

string $description: Description.

string $url: URL.

File

src/SearchResults/KeyMatch.php, line 32

Class

KeyMatch
Defines a value object for key-matches.

Namespace

Drupal\google_appliance\SearchResults

Code

public function __construct($description, $url) {
  $this->description = $description;
  $this->url = $url;
}