/** * Constructor. * * Initializes request, response, and dispatcher. * */ public function __construct() { $this->dispatcher = GeneralUtility::makeInstance('ApacheSolrForTypo3\\Solr\\IndexQueue\\FrontendHelper\\Dispatcher'); $this->request = GeneralUtility::makeInstance('ApacheSolrForTypo3\\Solr\\IndexQueue\\PageIndexerRequest', $_SERVER['HTTP_X_TX_SOLR_IQ']); $this->response = GeneralUtility::makeInstance('ApacheSolrForTypo3\\Solr\\IndexQueue\\PageIndexerResponse'); $this->response->setRequestId($this->request->getRequestId()); }