platform/api/symfony/Component/HttpKernel/HttpKernelInterface.yaml

34 lines
1.3 KiB
YAML
Raw Normal View History

2024-09-02 17:44:11 +00:00
name: HttpKernelInterface
class_comment: null
dependencies:
- name: Request
type: class
source: Symfony\Component\HttpFoundation\Request
- name: Response
type: class
source: Symfony\Component\HttpFoundation\Response
properties: []
methods:
- name: handle
visibility: public
parameters:
- name: request
- name: type
default: self::MAIN_REQUEST
- name: catch
default: 'true'
comment: "# * HttpKernelInterface handles a Request to convert it to a Response.\n\
# *\n# * @author Fabien Potencier <fabien@symfony.com>\n# */\n# interface HttpKernelInterface\n\
# {\n# public const MAIN_REQUEST = 1;\n# public const SUB_REQUEST = 2;\n# \n#\
\ /**\n# * Handles a Request to convert it to a Response.\n# *\n# * When $catch\
\ is true, the implementation must catch all exceptions\n# * and do its best to\
\ convert them to a Response instance.\n# *\n# * @param int $type The type of\
\ the request\n# * (one of HttpKernelInterface::MAIN_REQUEST\
\ or HttpKernelInterface::SUB_REQUEST)\n# * @param bool $catch Whether to catch\
\ exceptions or not\n# *\n# * @throws \\Exception When an Exception occurs during\
\ processing"
traits:
- Symfony\Component\HttpFoundation\Request
- Symfony\Component\HttpFoundation\Response
interfaces: []