- Reworked ApplicationStrategy to allows better overridding of it's classes

This commit is contained in:
Dave Mc Nicoll committed 2025-05-26 18:19:43 +00:00
1 parent 156defddc9
commit 7a48d707e0
6 files changed
+118 -45

No files matched your search

+3
View File
@@ -1,5 +1,6 @@
<?php
use Lean\ApplicationStrategy\{ ThrowableHandler, ThrowableHandlerInterface, NotFoundDecoratorInterface, NotFoundDecorator };
use function DI\autowire, DI\create, DI\get;
use Psr\Http\Message\ServerRequestInterface;
@@ -14,4 +15,6 @@ return [
},
EmitterInterface::class => create(SapiEmitter::class),
ThrowableHandlerInterface::class => autowire(ThrowableHandler::class),
NotFoundDecoratorInterface::class => autowire(NotFoundDecorator::class),
];