outsource env vars to docker compose vars #7

Closed
csimonis wants to merge 7 commits from feature/docker-env into main
Showing only changes of commit af071a4779 - Show all commits

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());
}
}