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

Inheritance: extends LocationSearchHitAdapterTest
Afficher le fichier Open project: ezsystems/ezpublish-kernel

Méthodes protégées

Méthode 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 méthode

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
Résultat eZ\Publish\Core\Pagination\Pagerfanta\LocationSearchAdapter

getExpectedFinalResultFromHits() protected méthode

Returns expected result from adapter from search hits.
protected getExpectedFinalResultFromHits ( $hits ) : mixed
$hits
Résultat mixed