class SearchController extends Controller

Class SearchController

Traits

AuthorizesRequests
DispatchesJobs
ValidatesRequests

Properties

protected $ElasticService
protected $LaudatioUtils

Methods

__construct(ElasticsearchInterface $Elasticservice, LaudatioUtilsInterface $laudatioUtils)

SearchController constructor.

Factory|View
index()

No description

Factory|View
frontPageSearch(Request $request)

frontPageSearch: catch searches from the frontpage and rout it to the search

emptySearchCache()

No description

Details

at line 35
__construct(ElasticsearchInterface $Elasticservice, LaudatioUtilsInterface $laudatioUtils)

SearchController constructor.

Parameters

ElasticsearchInterface $Elasticservice
LaudatioUtilsInterface $laudatioUtils

at line 44
Factory|View index()

Return Value

Factory|View

at line 144
Factory|View frontPageSearch(Request $request)

frontPageSearch: catch searches from the frontpage and rout it to the search

Parameters

Request $request

Return Value

Factory|View

Exceptions

ValidationException

at line 429
emptySearchCache()