- Added a new RenderRawView without the default HTML reponse
This commit is contained in:
1 parent
01bb926ca7
commit
434e3c0c46
2 files changed
+6
-2
No files matched your search
@@ -66,7 +66,6 @@ class Routing {
|
||||
|
||||
foreach((array) ( $annotation->method ?? $annotation->methods ) as $method) {
|
||||
# Mapping every URLs from annotations in searched folders (Api, Controller, etc...)
|
||||
|
||||
$route->map(strtoupper($method), $annotation->getRoute(), function (ServerRequestInterface $request, array $arguments) use (
|
||||
$container, $route, $annotation
|
||||
) : ResponseInterface
|
||||
|
||||
Reference in new issue
Block a user