PHP 8.2.30
Preview: HttpKernelInterface.php Size: 1.31 KB
//opt/cloudlinux/alt-php53/root/usr/share/pear/Symfony/Component/HttpKernel/HttpKernelInterface.php

<?php

/*
 * This file is part of the Symfony package.
 *
 * (c) Fabien Potencier <fabien@symfony.com>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Symfony\Component\HttpKernel;

use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;

/**
 * HttpKernelInterface handles a Request to convert it to a Response.
 *
 * @author Fabien Potencier <fabien@symfony.com>
 *
 * @api
 */
interface HttpKernelInterface
{
    const MASTER_REQUEST = 1;
    const SUB_REQUEST = 2;

    /**
     * Handles a Request to convert it to a Response.
     *
     * When $catch is true, the implementation must catch all exceptions
     * and do its best to convert them to a Response instance.
     *
     * @param Request $request A Request instance
     * @param integer $type    The type of the request
     *                          (one of HttpKernelInterface::MASTER_REQUEST or HttpKernelInterface::SUB_REQUEST)
     * @param Boolean $catch Whether to catch exceptions or not
     *
     * @return Response A Response instance
     *
     * @throws \Exception When an Exception occurs during processing
     *
     * @api
     */
    public function handle(Request $request, $type = self::MASTER_REQUEST, $catch = true);
}

Directory Contents

Dirs: 15 × Files: 9

Name Size Perms Modified Actions
Bundle DIR
- drwxr-xr-x 2024-03-03 22:55:08
Edit Download
- drwxr-xr-x 2024-03-03 22:55:08
Edit Download
- drwxr-xr-x 2024-03-03 22:55:08
Edit Download
Config DIR
- drwxr-xr-x 2024-03-03 22:55:08
Edit Download
- drwxr-xr-x 2024-03-03 22:55:08
Edit Download
- drwxr-xr-x 2024-03-03 22:55:08
Edit Download
Debug DIR
- drwxr-xr-x 2024-03-03 22:55:08
Edit Download
- drwxr-xr-x 2024-03-03 22:55:08
Edit Download
Event DIR
- drwxr-xr-x 2024-03-03 22:55:08
Edit Download
- drwxr-xr-x 2024-03-03 22:55:08
Edit Download
Exception DIR
- drwxr-xr-x 2024-03-03 22:55:08
Edit Download
Fragment DIR
- drwxr-xr-x 2024-03-03 22:55:08
Edit Download
HttpCache DIR
- drwxr-xr-x 2024-03-03 22:55:08
Edit Download
Log DIR
- drwxr-xr-x 2024-03-03 22:55:08
Edit Download
Profiler DIR
- drwxr-xr-x 2024-03-03 22:55:08
Edit Download
340 B lrw-r--r-- 2019-12-18 11:20:41
Edit Download
6.82 KB lrw-r--r-- 2019-12-18 11:20:41
Edit Download
9.01 KB lrw-r--r-- 2019-12-18 11:20:41
Edit Download
1.31 KB lrw-r--r-- 2019-12-18 11:20:41
Edit Download
23.18 KB lrw-r--r-- 2019-12-18 11:20:41
Edit Download
3.11 KB lrw-r--r-- 2019-12-18 11:20:41
Edit Download
4.93 KB lrw-r--r-- 2019-12-18 11:20:41
Edit Download
1.03 KB lrw-r--r-- 2019-12-18 11:20:41
Edit Download
1.65 KB lrw-r--r-- 2019-12-18 11:20:41
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).