TASK: Finish interface

To stay compatible with implementation.
This commit is contained in:
Daniel Siepmann 2017-07-06 14:13:39 +02:00
parent c6a199a7a4
commit 38f9087111
Signed by: Daniel Siepmann
GPG key ID: 33D6629915560EF4

View file

@ -36,4 +36,20 @@ interface SearchResultInterface extends \Iterator, \Countable
* @return array<FacetIterface> * @return array<FacetIterface>
*/ */
public function getFacets(); 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();
} }