Changed finder interface hierarchy

This commit is contained in:
Richard Miller 2012-07-10 20:38:08 +01:00
parent 76f583324e
commit 3d2252a688
3 changed files with 3 additions and 3 deletions

View file

@ -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

View file

@ -11,7 +11,7 @@ use Elastica_Query;
/**
* Finds elastica documents
*/
class RawFinder implements FinderInterface, PaginatedFinderInterface
class RawFinder implements PaginatedFinderInterface
{
protected $searchable;

View file

@ -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;