Builds the response object.
class ApiPlatform\Symfony\EventListener\RespondListener
{
public __construct(null|$resourceMetadataFactory, null|`<a href="/docs/main/references/Api/IriConverterInterface">ApiPlatform\Metadata\IriConverterInterface</a>`|`<a href="/docs/main/references/Api/IriConverterInterface">ApiPlatform\Api\IriConverterInterface</a>`|`<a href="/docs/main/references/State/ProcessorInterface">ApiPlatform\State\ProcessorInterface $iriConverter)
public onKernelView(Symfony\Component\HttpKernel\Event\ViewEvent $event): null
}
public __construct(null|$resourceMetadataFactory, null|`<a href="/docs/main/references/Api/IriConverterInterface">ApiPlatform\Metadata\IriConverterInterface</a>`|`<a href="/docs/main/references/Api/IriConverterInterface">ApiPlatform\Api\IriConverterInterface</a>`|`<a href="/docs/main/references/State/ProcessorInterface">ApiPlatform\State\ProcessorInterface $iriConverter)
Creates a Response to send to the client according to the requested format.
public onKernelView(Symfony\Component\HttpKernel\Event\ViewEvent $event): null
event | Symfony\Component\HttpKernel\Event\ViewEvent |
null
Made with love by
Les-Tilleuls.coop can help you design and develop your APIs and web projects, and train your teams in API Platform, Symfony, Next.js, Kubernetes and a wide range of other technologies.
Learn more