forked from efficience-it/certification-symfony
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuilt_in_internal_controllers.yaml
25 lines (25 loc) · 1.52 KB
/
built_in_internal_controllers.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
questions:
-
uuid: 1eebf878-8b9f-61f8-9d15-99d84c92580c
question: 'Which controller/action allows to render a template without a specific controller?'
answers:
- { value: Symfony\Bundle\FrameworkBundle\Controller\TemplateController, correct: true }
- { value: Sensio\Bundle\FrameworkExtraBundle\Controller\TemplateController, correct: false }
- { value: Symfony\Bundle\FrameworkBundle\Controller\TwigController, correct: false }
- { value: Sensio\Bundle\FrameworkExtraBundle\Controller\TwigController, correct: false }
help: 'https://symfony.com/doc/current/templates.html#rendering-a-template-directly-from-a-route'
-
uuid: 1eebf878-8ba8-6a14-a03d-99d84c92580c
question: 'Which TemplateController can be rendered directly from routing.yaml ?'
answers:
- { value: Symfony\Bundle\FrameworkBundle\Controller\TemplateController, correct: true }
- { value: Sensio\Bundle\FrameworkBundle\Controller\TemplateController, correct: false }
- { value: SensioExtraFramework\Bundle\Controller\TemplateController, correct: false }
help: 'https://symfony.com/doc/current/templates.html#rendering-a-template-directly-from-a-route'
-
uuid: 1ef65da6-c3df-611a-a297-cbefde6d45ba
question: 'Does the order of the controller arguments matter when mapping route parameters to controller arguments?'
answers:
- { value: 'Yes', correct: false }
- { value: 'No', correct: true }
help: 'https://symfony.com/doc/current/controller.html#route-parameters-as-controller-arguments'