TYPO3 CMS  TYPO3_6-2
BackendRequestHandler.php
Go to the documentation of this file.
1 <?php
3 
20 
26  public function handleRequest() {
27  $request = $this->requestBuilder->build();
29  $requestHashService = $this->objectManager->get('TYPO3\\CMS\\Extbase\\Security\\Channel\\RequestHashService');
30  $requestHashService->verifyRequest($request);
32  $response = $this->objectManager->get('TYPO3\\CMS\\Extbase\\Mvc\\Web\\Response');
33  $this->dispatcher->dispatch($request, $response);
34  return $response;
35  }
36 
42  public function canHandleRequest() {
43  return $this->environmentService->isEnvironmentInBackendMode() && !$this->environmentService->isEnvironmentInCliMode();
44  }
45 }