[DOCUMENTATION] Add high level code walkthrough to developer docs

This commit is contained in:
2021-04-30 20:16:42 +00:00
parent 353595eb97
commit e9a96f1c9b
3 changed files with 42 additions and 31 deletions

View File

@@ -106,7 +106,7 @@ class Controller extends AbstractController implements EventSubscriberInterface
break;
case 'json':
$event->setResponse(new JsonResponse($this->vars));
// no break
break;
default:
throw new BadRequestHttpException('Unsupported format', null, 406);
}