PHP Class ApiPlatform\Core\EventListener\RespondListener

Author: Kévin Dunglas ([email protected])
Datei anzeigen Open project: api-platform/core Class Usage Examples

Public Methods

Method Description
onKernelView ( GetResponseForControllerResultEvent $event ) Creates a Response to send to the client according to the requested format.

Method Details

onKernelView() public method

Creates a Response to send to the client according to the requested format.
public onKernelView ( GetResponseForControllerResultEvent $event )
$event Symfony\Component\HttpKernel\Event\GetResponseForControllerResultEvent