- Added MethodNotAllowed interface

This commit is contained in:
mcndave committed 2025-09-12 19:54:00 +00:00
1 parent 990f57b94e
commit 74a56bd72f
3 files changed
+19 -1

No files matched your search

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