I define my own errorHandler, but I can not access the App and Container instance。
Thanks
You could probably just inject it with something like this:
$app = new App([
'errorHandler' => function(ContainerInterface $container){
return new ErrorHandler($container);
}
);
Most helpful comment
You could probably just inject it with something like this: