FOSElasticaBundle/Paginator/PartialResultsInterface.php
Francisco Facioni 59bf8a1efd More CS
2012-06-13 15:40:27 -03:00

31 lines
463 B
PHP

<?php
namespace FOQ\ElasticaBundle\Paginator;
interface PartialResultsInterface
{
/**
* Returns the paginated results.
*
* @return array
*
* @api
*/
function toArray();
/**
* Returns the number of results.
*
* @return integer The number of results.
*
* @api
*/
function getTotalHits();
/**
* Returns the facets
*
* @return array
*/
function getFacets();
}