public function __construct(SearchManagerInterface $searchManager, ProviderInterface $metadataProvider, SecurityCheckerInterface $securityChecker, ViewHandlerInterface $viewHandler, ListRestHelperInterface $listRestHelper, IndexConfigurationProviderInterface $indexConfigurationProvider)
{
$this->searchManager = $searchManager;
$this->metadataProvider = $metadataProvider;
$this->securityChecker = $securityChecker;
$this->viewHandler = $viewHandler;
$this->listRestHelper = $listRestHelper;
$this->indexConfigurationProvider = $indexConfigurationProvider;
}