Verzeichnisstruktur phpBB-3.3.15
- Veröffentlicht
- 28.08.2024
So funktioniert es
|
Auf das letzte Element klicken. Dies geht jeweils ein Schritt zurück |
Auf das Icon klicken, dies öffnet das Verzeichnis. Nochmal klicken schließt das Verzeichnis. |
|
(Beispiel Datei-Icons)
|
Auf das Icon klicken um den Quellcode anzuzeigen |
HttpKernelInterface.php
01 <?php
02
03 /*
04 * This file is part of the Symfony package.
05 *
06 * (c) Fabien Potencier <fabien@symfony.com>
07 *
08 * For the full copyright and license information, please view the LICENSE
09 * file that was distributed with this source code.
10 */
11
12 namespace Symfony\Component\HttpKernel;
13
14 use Symfony\Component\HttpFoundation\Request;
15 use Symfony\Component\HttpFoundation\Response;
16
17 /**
18 * HttpKernelInterface handles a Request to convert it to a Response.
19 *
20 * @author Fabien Potencier <fabien@symfony.com>
21 */
22 interface HttpKernelInterface
23 {
24 const MASTER_REQUEST = 1;
25 const SUB_REQUEST = 2;
26
27 /**
28 * Handles a Request to convert it to a Response.
29 *
30 * When $catch is true, the implementation must catch all exceptions
31 * and do its best to convert them to a Response instance.
32 *
33 * @param Request $request A Request instance
34 * @param int $type The type of the request
35 * (one of HttpKernelInterface::MASTER_REQUEST or HttpKernelInterface::SUB_REQUEST)
36 * @param bool $catch Whether to catch exceptions or not
37 *
38 * @return Response A Response instance
39 *
40 * @throws \Exception When an Exception occurs during processing
41 */
42 public function handle(Request $request, $type = self::MASTER_REQUEST, $catch = true);
43 }
44