api/symfony/Component/HttpKernel/DataCollector/RouterDataCollector.yaml

66 lines
1.8 KiB
YAML
Raw Normal View History

2024-09-26 09:03:21 +00:00
name: RouterDataCollector
class_comment: '# * @author Fabien Potencier <fabien@symfony.com>'
dependencies:
- name: RedirectResponse
type: class
source: Symfony\Component\HttpFoundation\RedirectResponse
- name: Request
type: class
source: Symfony\Component\HttpFoundation\Request
- name: Response
type: class
source: Symfony\Component\HttpFoundation\Response
- name: ControllerEvent
type: class
source: Symfony\Component\HttpKernel\Event\ControllerEvent
properties: []
methods:
- name: collect
visibility: public
parameters:
- name: request
- name: response
- name: exception
default: 'null'
comment: "# * @author Fabien Potencier <fabien@symfony.com>\n# */\n# class RouterDataCollector\
\ extends DataCollector\n# {\n# /**\n# * @var \\SplObjectStorage<Request, callable>\n\
# */\n# protected \\SplObjectStorage $controllers;\n# \n# public function __construct()\n\
# {\n# $this->reset();\n# }\n# \n# /**\n# * @final"
- name: reset
visibility: public
parameters: []
comment: null
- name: guessRoute
visibility: protected
parameters:
- name: request
- name: controller
comment: null
- name: onKernelController
visibility: public
parameters:
- name: event
comment: '# * Remembers the controller associated to each request.'
- name: getRedirect
visibility: public
parameters: []
comment: '# * @return bool Whether this request will result in a redirect'
- name: getTargetUrl
visibility: public
parameters: []
comment: null
- name: getTargetRoute
visibility: public
parameters: []
comment: null
- name: getName
visibility: public
parameters: []
comment: null
traits:
- Symfony\Component\HttpFoundation\RedirectResponse
- Symfony\Component\HttpFoundation\Request
- Symfony\Component\HttpFoundation\Response
- Symfony\Component\HttpKernel\Event\ControllerEvent
interfaces: []