Changed finder interface hierarchy
This commit is contained in:
parent
76f583324e
commit
3d2252a688
|
@ -6,7 +6,7 @@ use FOQ\ElasticaBundle\Paginator\PaginatorAdapterInterface;
|
|||
use Pagerfanta\Pagerfanta;
|
||||
use Elastica_Query;
|
||||
|
||||
interface PaginatedFinderInterface
|
||||
interface PaginatedFinderInterface extends FinderInterface
|
||||
{
|
||||
/**
|
||||
* Searches for query results and returns them wrapped in a paginator
|
||||
|
|
|
@ -11,7 +11,7 @@ use Elastica_Query;
|
|||
/**
|
||||
* Finds elastica documents
|
||||
*/
|
||||
class RawFinder implements FinderInterface, PaginatedFinderInterface
|
||||
class RawFinder implements PaginatedFinderInterface
|
||||
{
|
||||
protected $searchable;
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@ use Elastica_Query;
|
|||
/**
|
||||
* Finds elastica documents and map them to persisted objects
|
||||
*/
|
||||
class TransformedFinder implements FinderInterface, PaginatedFinderInterface
|
||||
class TransformedFinder implements PaginatedFinderInterface
|
||||
{
|
||||
protected $searchable;
|
||||
protected $transformer;
|
||||
|
|
Loading…
Reference in a new issue