some debugging
All checks were successful
build / build (push) Successful in 4m8s

This commit is contained in:
Constantin Simonis 2024-12-06 14:41:25 +01:00
parent c58d2445fa
commit 58ab9e2154
Signed by: csimonis
GPG Key ID: 758DD9C506603183

23
src/test.php Normal file
View File

@ -0,0 +1,23 @@
<?php
declare(strict_types=1);
namespace App;
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
use Symfony\Component\HttpKernel\Event\ExceptionEvent;
use Symfony\Component\HttpKernel\Event\GetResponseForExceptionEvent;
use Symfony\Component\HttpKernel\KernelEvents;
class test implements EventSubscriberInterface
{
public static function getSubscribedEvents()
{
return [KernelEvents::EXCEPTION => 'x'];
}
public function x(ExceptionEvent $event)
{
dd($event->getThrowable());
}
}