api/symfony/Component/HttpKernel/Controller/ErrorController.yaml

52 lines
1.3 KiB
YAML
Raw Normal View History

2024-09-26 09:03:21 +00:00
name: ErrorController
class_comment: '# * Renders error or exception pages from a given FlattenException.
# *
# * @author Yonel Ceruto <yonelceruto@gmail.com>
# * @author Matthias Pigulla <mp@webfactory.de>'
dependencies:
- name: ErrorRendererInterface
type: class
source: Symfony\Component\ErrorHandler\ErrorRenderer\ErrorRendererInterface
- name: Request
type: class
source: Symfony\Component\HttpFoundation\Request
- name: Response
type: class
source: Symfony\Component\HttpFoundation\Response
- name: HttpException
type: class
source: Symfony\Component\HttpKernel\Exception\HttpException
- name: HttpKernelInterface
type: class
source: Symfony\Component\HttpKernel\HttpKernelInterface
properties: []
methods:
- name: __construct
visibility: public
parameters:
- name: kernel
- name: controller
- name: errorRenderer
comment: null
- name: __invoke
visibility: public
parameters:
- name: exception
comment: null
- name: preview
visibility: public
parameters:
- name: request
- name: code
comment: null
traits:
- Symfony\Component\ErrorHandler\ErrorRenderer\ErrorRendererInterface
- Symfony\Component\HttpFoundation\Request
- Symfony\Component\HttpFoundation\Response
- Symfony\Component\HttpKernel\Exception\HttpException
- Symfony\Component\HttpKernel\HttpKernelInterface
interfaces: []