- Added MethodNotAllowed interface

This commit is contained in:
mcndave authored and Dave Mc Nicoll committed 2026-10-19 19:51:33 +00:00
1 parent 81e124b144
commit 1c44342bbf
2 files changed
+2 -35

No files matched your search

+2 -2
View File
@@ -1,13 +1,13 @@
<?php
use Lean\ApplicationStrategy\{ ThrowableHandler, ThrowableHandlerInterface, NotFoundDecoratorInterface, NotFoundDecorator, MethodNotAllowedInterface, };
use Psr\Container\ContainerInterface;
use Lean\ApplicationStrategy\{ ThrowableHandler, ThrowableHandlerInterface, NotFoundDecoratorInterface, NotFoundDecorator, MethodNotAllowedInterface, };
use Psr\Http\Message\ServerRequestInterface;
use Laminas\{ Diactoros\ServerRequestFactory, HttpHandlerRunner\Emitter\EmitterInterface, HttpHandlerRunner\Emitter\SapiEmitter };
use Lean\Factory\{ HttpFactory, HttpFactoryInterface };
use Picea\Picea;
use function DI\{ autowire, create, get };
use function DI\autowire, DI\create, DI\get;
return [
ServerRequestInterface::class => function ($c) {