| 1 | <?php |
||
| 14 | class Query { |
||
| 15 | |||
| 16 | /** |
||
| 17 | * |
||
| 18 | * @var string |
||
| 19 | */ |
||
| 20 | private $term; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * |
||
| 24 | * @var string[string] |
||
| 25 | */ |
||
| 26 | private $facets = array(); |
||
| 27 | |||
| 28 | /** |
||
| 29 | * |
||
| 30 | * @var string[] |
||
| 31 | */ |
||
| 32 | private $usedFacets = null; |
||
| 33 | |||
| 34 | /** |
||
| 35 | * |
||
| 36 | * @param string $term |
||
| 37 | * @param string[string] $facets |
||
|
|
|||
| 38 | * @param string[] $usedFacets |
||
| 39 | */ |
||
| 40 | public function __construct($term, array $facets = array(), $usedFacets) { |
||
| 43 | |||
| 44 | /** |
||
| 45 | * Get the search term |
||
| 46 | * |
||
| 47 | * @return string Returns the search term |
||
| 48 | */ |
||
| 49 | public function getSearchTerm() { |
||
| 52 | |||
| 53 | /** |
||
| 54 | * |
||
| 55 | * @return string[string] |
||
| 56 | */ |
||
| 57 | public function getFacets() { |
||
| 60 | |||
| 61 | /** |
||
| 62 | * |
||
| 63 | * @return string[] |
||
| 64 | */ |
||
| 65 | public function getUsedFacets() { |
||
| 68 | } |
This check marks PHPDoc comments that could not be parsed by our parser. To see which comment annotations we can parse, please refer to our documentation on supported doc-types.