[BUGFIX] Fix several typos in php comments
[Packages/TYPO3.CMS.git] / typo3 / sysext / extbase / Classes / Mvc / RequestHandlerInterface.php
1 <?php
2 namespace TYPO3\CMS\Extbase\Mvc;
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
17 /**
18 * The interface for a request handler
19 */
20 interface RequestHandlerInterface
21 {
22 /**
23 * Handles a raw request and returns the response.
24 *
25 * @return \TYPO3\CMS\Extbase\Mvc\ResponseInterface
26 */
27 public function handleRequest();
28
29 /**
30 * Checks if the request handler can handle the current request.
31 *
32 * @return bool TRUE if it can handle the request, otherwise FALSE
33 */
34 public function canHandleRequest();
35
36 /**
37 * Returns the priority - how eager the handler is to actually handle the
38 * request. An integer > 0 means "I want to handle this request" where
39 * "100" is default. "0" means "I am a fallback solution".
40 *
41 * @return int The priority of the request handler
42 */
43 public function getPriority();
44 }