1 | <?php |
||
38 | class DebugComponent extends AbstractComponent implements QueryAware, SearchRequestAware |
||
39 | { |
||
40 | |||
41 | /** |
||
42 | * Solr query |
||
43 | * |
||
44 | * @var Query |
||
45 | */ |
||
46 | protected $query; |
||
47 | |||
48 | /** |
||
49 | * @var SearchRequest |
||
50 | */ |
||
51 | protected $seachRequest; |
||
52 | 26 | ||
53 | /** |
||
54 | 26 | * Provides a component that is aware of the current SearchRequest |
|
55 | * |
||
56 | 26 | * @param SearchRequest $searchRequest |
|
57 | */ |
||
58 | public function setSearchRequest(SearchRequest $searchRequest) |
||
62 | |||
63 | /** |
||
64 | * Initializes the search component. |
||
65 | * |
||
66 | 26 | * Sets the debug query parameter |
|
67 | * |
||
68 | 26 | */ |
|
69 | 26 | public function initializeSearchComponent() |
|
75 | |||
76 | /** |
||
77 | * Provides the extension component with an instance of the current query. |
||
78 | * |
||
79 | * @param Query $query Current query |
||
80 | */ |
||
81 | public function setQuery(Query $query) |
||
85 | } |
||
86 |