eZ\Publish\Core\MVC\Symfony\Controller\Content\QueryController::runQuery PHP Метод

runQuery() приватный Метод

Runs the Query defined in $view using $method on SearchService.
private runQuery ( ContentView $view, string $method )
$view eZ\Publish\Core\MVC\Symfony\View\ContentView
$method string Name of the SearchService method to run.
    private function runQuery(ContentView $view, $method)
    {
        $searchResults = $this->searchService->{$method}($this->contentViewQueryTypeMapper->map($view));
        $view->addParameters([$view->getParameter('query')['assign_results_to'] => $searchResults]);
    }