‪TYPO3CMS  9.5
AbstractRequestHandler.php
Go to the documentation of this file.
1 <?php
3 
4 /*
5  * This file is part of the TYPO3 CMS project.
6  *
7  * It is free software; you can redistribute it and/or modify it under
8  * the terms of the GNU General Public License, either version 2
9  * of the License, or any later version.
10  *
11  * For the full copyright and license information, please read the
12  * LICENSE.txt file that was distributed with this source code.
13  *
14  * The TYPO3 project - inspiring people to share!
15  */
16 
22 {
26  protected ‪$objectManager;
27 
31  protected ‪$dispatcher;
32 
36  protected ‪$requestBuilder;
37 
41  protected ‪$environmentService;
42 
47  {
48  $this->dispatcher = ‪$dispatcher;
49  }
50 
55  {
56  $this->requestBuilder = ‪$requestBuilder;
57  }
58 
62  public function ‪injectObjectManager(\‪TYPO3\CMS\‪Extbase\Object\ObjectManagerInterface ‪$objectManager)
63  {
64  $this->objectManager = ‪$objectManager;
65  }
66 
70  public function ‪injectEnvironmentService(\‪TYPO3\CMS\‪Extbase\Service\EnvironmentService ‪$environmentService)
71  {
72  $this->environmentService = ‪$environmentService;
73  }
74 
80  public function ‪canHandleRequest()
81  {
82  return true;
83  }
84 
91  public function ‪getPriority()
92  {
93  return 100;
94  }
95 }
‪TYPO3\CMS\Extbase\Mvc\Web\AbstractRequestHandler\injectObjectManager
‪injectObjectManager(\TYPO3\CMS\Extbase\Object\ObjectManagerInterface $objectManager)
Definition: AbstractRequestHandler.php:58
‪TYPO3\CMS\Extbase\Annotation
Definition: IgnoreValidation.php:4
‪TYPO3\CMS\Extbase\Mvc\Dispatcher
Definition: Dispatcher.php:23
‪TYPO3
‪TYPO3\CMS\Extbase\Mvc\Web\AbstractRequestHandler\injectEnvironmentService
‪injectEnvironmentService(\TYPO3\CMS\Extbase\Service\EnvironmentService $environmentService)
Definition: AbstractRequestHandler.php:66
‪TYPO3\CMS\Extbase\Mvc\Web\AbstractRequestHandler\canHandleRequest
‪bool canHandleRequest()
Definition: AbstractRequestHandler.php:76
‪TYPO3\CMS\Extbase\Mvc\Web\AbstractRequestHandler\getPriority
‪int getPriority()
Definition: AbstractRequestHandler.php:87
‪TYPO3\CMS\Extbase\Mvc\Web\AbstractRequestHandler\injectRequestBuilder
‪injectRequestBuilder(\TYPO3\CMS\Extbase\Mvc\Web\RequestBuilder $requestBuilder)
Definition: AbstractRequestHandler.php:50
‪TYPO3\CMS\Extbase\Mvc\Web\AbstractRequestHandler\$dispatcher
‪TYPO3 CMS Extbase Mvc Dispatcher $dispatcher
Definition: AbstractRequestHandler.php:29
‪TYPO3\CMS\Extbase\Mvc\Web\AbstractRequestHandler\injectDispatcher
‪injectDispatcher(\TYPO3\CMS\Extbase\Mvc\Dispatcher $dispatcher)
Definition: AbstractRequestHandler.php:42
‪TYPO3\CMS\Extbase\Mvc\RequestHandlerInterface
Definition: RequestHandlerInterface.php:21
‪TYPO3\CMS\Extbase\Mvc\Web\AbstractRequestHandler
Definition: AbstractRequestHandler.php:22
‪TYPO3\CMS\Extbase\Mvc\Web\AbstractRequestHandler\$objectManager
‪TYPO3 CMS Extbase Object ObjectManagerInterface $objectManager
Definition: AbstractRequestHandler.php:25
‪TYPO3\CMS\Extbase\Mvc\Web
Definition: AbstractRequestHandler.php:2
‪TYPO3\CMS\Extbase\Mvc\Web\AbstractRequestHandler\$requestBuilder
‪TYPO3 CMS Extbase Mvc Web RequestBuilder $requestBuilder
Definition: AbstractRequestHandler.php:33
‪TYPO3\CMS\Extbase\Mvc\Web\AbstractRequestHandler\$environmentService
‪TYPO3 CMS Extbase Service EnvironmentService $environmentService
Definition: AbstractRequestHandler.php:37
‪TYPO3\CMS\Extbase\Mvc\Web\RequestBuilder
Definition: RequestBuilder.php:29