PHP Class eZ\Publish\Core\Pagination\Tests\LocationSearchAdapterTest

Inheritance: extends LocationSearchHitAdapterTest
Datei anzeigen Open project: ezsystems/ezpublish-kernel

Protected Methods

Method Description
getAdapter ( eZ\Publish\API\Repository\Values\Content\LocationQuery $query, eZ\Publish\API\Repository\SearchService $searchService ) : LocationSearchAdapter
getExpectedFinalResultFromHits ( $hits ) : mixed Returns expected result from adapter from search hits.

Method Details

getAdapter() protected method

protected getAdapter ( eZ\Publish\API\Repository\Values\Content\LocationQuery $query, eZ\Publish\API\Repository\SearchService $searchService ) : LocationSearchAdapter
$query eZ\Publish\API\Repository\Values\Content\LocationQuery
$searchService eZ\Publish\API\Repository\SearchService
return eZ\Publish\Core\Pagination\Pagerfanta\LocationSearchAdapter

getExpectedFinalResultFromHits() protected method

Returns expected result from adapter from search hits.
protected getExpectedFinalResultFromHits ( $hits ) : mixed
$hits
return mixed