mirror of
https://github.com/Codappix/search_core.git
synced 2024-11-25 19:56:10 +01:00
TASK: Finish interface
To stay compatible with implementation.
This commit is contained in:
parent
c6a199a7a4
commit
38f9087111
1 changed files with 16 additions and 0 deletions
|
@ -36,4 +36,20 @@ interface SearchResultInterface extends \Iterator, \Countable
|
|||
* @return array<FacetIterface>
|
||||
*/
|
||||
public function getFacets();
|
||||
|
||||
/**
|
||||
* Returns the total sum of matching results.
|
||||
*
|
||||
* @return int
|
||||
*/
|
||||
public function getTotalCount();
|
||||
|
||||
// Countable - Interface
|
||||
|
||||
/**
|
||||
* Returns the total sum of results contained in this result.
|
||||
*
|
||||
* @return int
|
||||
*/
|
||||
public function count();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue