- Added a new RenderRawView without the default HTML reponse

This commit is contained in:
mcndave committed 2021-03-10 13:55:58 +00:00
1 parent 01bb926ca7
commit 434e3c0c46
2 files changed
+6 -2

No files matched your search

-1
View File
@@ -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