Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
QueryResult.php
Go to the documentation of this file.
1 <?php
6 namespace Magento\Search\Model;
7 
13 {
17  private $queryText;
18 
22  private $resultsCount;
23 
28  public function __construct($queryText, $resultsCount)
29  {
30  $this->queryText = $queryText;
31  $this->resultsCount = $resultsCount;
32  }
33 
37  public function getQueryText()
38  {
39  return $this->queryText;
40  }
41 
45  public function getResultsCount()
46  {
47  return $this->resultsCount;
48  }
49 }
__construct($queryText, $resultsCount)
Definition: QueryResult.php:28