Reference
C
Class

ApiPlatform\Symfony\EventListener\ExceptionListener

Handles requests errors.

class ApiPlatform\Symfony\EventListener\ExceptionListener
{
    public __construct(Symfony\Component\HttpKernel\EventListener\ErrorListener $errorListener)
    public onKernelException(Symfony\Component\HttpKernel\Event\ExceptionEvent $event): null
}
class ApiPlatform\Symfony\EventListener\ExceptionListener
{
    public __construct(Symfony\Component\HttpKernel\EventListener\ErrorListener $errorListener)
    public onKernelException(Symfony\Component\HttpKernel\Event\ExceptionEvent $event): null
}

Methods

__construct

public __construct(Symfony\Component\HttpKernel\EventListener\ErrorListener $errorListener)
public __construct(Symfony\Component\HttpKernel\EventListener\ErrorListener $errorListener)

Parameters

errorListenerSymfony\Component\HttpKernel\EventListener\ErrorListener

onKernelException

public onKernelException(Symfony\Component\HttpKernel\Event\ExceptionEvent $event): null
public onKernelException(Symfony\Component\HttpKernel\Event\ExceptionEvent $event): null

Parameters

eventSymfony\Component\HttpKernel\Event\ExceptionEvent

Returns

null

Copyright © 2023 Kévin Dunglas

Sponsored by Les-Tilleuls.coop