‪TYPO3CMS  11.5
FrontendRequestHandler.php
Go to the documentation of this file.
1 <?php
2 
3 /*
4  * This file is part of the TYPO3 CMS project.
5  *
6  * It is free software; you can redistribute it and/or modify it under
7  * the terms of the GNU General Public License, either version 2
8  * of the License, or any later version.
9  *
10  * For the full copyright and license information, please read the
11  * LICENSE.txt file that was distributed with this source code.
12  *
13  * The TYPO3 project - inspiring people to share!
14  */
15 
17 
18 use Psr\Http\Message\ResponseInterface;
23 
29 {
31 
33  {
34  $this->dispatcher = ‪$dispatcher;
35  }
36 
44  public function ‪handleRequest(‪RequestInterface $request)
45  {
46  return $this->dispatcher->dispatch($request);
47  }
48 
55  public function ‪canHandleRequest(‪RequestInterface $request)
56  {
57  return true;
58  }
59 
60  public function ‪getPriority(): int
61  {
62  return 100;
63  }
64 }
‪TYPO3\CMS\Extbase\Mvc\Dispatcher
Definition: Dispatcher.php:38
‪TYPO3\CMS\Extbase\Mvc\Web\FrontendRequestHandler\canHandleRequest
‪bool canHandleRequest(RequestInterface $request)
Definition: FrontendRequestHandler.php:55
‪TYPO3\CMS\Extbase\Mvc\Web\FrontendRequestHandler\getPriority
‪getPriority()
Definition: FrontendRequestHandler.php:60
‪TYPO3\CMS\Extbase\Mvc\Web\FrontendRequestHandler\$dispatcher
‪Dispatcher $dispatcher
Definition: FrontendRequestHandler.php:30
‪TYPO3\CMS\Extbase\Mvc\Web\FrontendRequestHandler\handleRequest
‪ResponseInterface handleRequest(RequestInterface $request)
Definition: FrontendRequestHandler.php:44
‪TYPO3\CMS\Extbase\Mvc\RequestHandlerInterface
Definition: RequestHandlerInterface.php:24
‪TYPO3\CMS\Extbase\Mvc\Web
Definition: FrontendRequestHandler.php:16
‪TYPO3\CMS\Extbase\Mvc\Web\FrontendRequestHandler\__construct
‪__construct(Dispatcher $dispatcher)
Definition: FrontendRequestHandler.php:32
‪TYPO3\CMS\Extbase\Mvc\RequestInterface
Definition: RequestInterface.php:27
‪TYPO3\CMS\Extbase\Mvc\Web\FrontendRequestHandler
Definition: FrontendRequestHandler.php:29
‪TYPO3\CMS\Extbase\Mvc\Exception\InfiniteLoopException
Definition: InfiniteLoopException.php:25