Guides
Tutorials
Builds the response object.
class ApiPlatform\Symfony\EventListener\RespondListener
{
public __construct(null|ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface $resourceMetadataFactory, null|ApiPlatform\Api\IriConverterInterface $iriConverter)
public onKernelView(Symfony\Component\HttpKernel\Event\ViewEvent $event): null
}
class ApiPlatform\Symfony\EventListener\RespondListener
{
public __construct(null|ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface $resourceMetadataFactory, null|ApiPlatform\Api\IriConverterInterface $iriConverter)
public onKernelView(Symfony\Component\HttpKernel\Event\ViewEvent $event): null
}
public __construct(null|ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface $resourceMetadataFactory, null|ApiPlatform\Api\IriConverterInterface $iriConverter)
public __construct(null|ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface $resourceMetadataFactory, null|ApiPlatform\Api\IriConverterInterface $iriConverter)
resourceMetadataFactory | ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface | |
iriConverter | ApiPlatform\Api\IriConverterInterface |
Creates a Response to send to the client according to the requested format.
public onKernelView(Symfony\Component\HttpKernel\Event\ViewEvent $event): null
public onKernelView(Symfony\Component\HttpKernel\Event\ViewEvent $event): null
event | Symfony\Component\HttpKernel\Event\ViewEvent |
null