Toggle navigation
Hot Examples
ZH
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
搜索
Home
ApiPlatform
Core
Bridge
Symfony
Bundle
EventListener
SwaggerUiListener
PHP Class ApiPlatform\Core\Bridge\Symfony\Bundle\EventListener\SwaggerUiListener
显示文件
Open project: api-platform/core
Class Usage Examples
Public Methods
Method
Description
onKernelRequest
(
GetResponseEvent
$event
)
Sets SwaggerUiAction as controller if the requested format is HTML.
Method Details
onKernelRequest()
public
method
Sets SwaggerUiAction as controller if the requested format is HTML.
public
onKernelRequest
(
GetResponseEvent
$event
)
$event
Symfony\Component\HttpKernel\Event\GetResponseEvent
GetResponseEvent