-
Notifications
You must be signed in to change notification settings - Fork 6
/
code_debugging.yaml
69 lines (69 loc) · 3.53 KB
/
code_debugging.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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
questions:
-
uuid: 1eebf878-8b97-6174-b11e-99d84c92580c
question: 'Could the destination of the dump be customized?'
answers:
- { value: 'Yes', correct: true }
- { value: 'No', correct: false }
help: 'https://symfony.com/doc/current/components/var_dumper.html#the-dump-server'
-
uuid: 1eebf878-8b97-691c-8545-99d84c92580c
question: 'Which method should you call to customize the behavior of the global dump() function?'
answers:
- { value: trigger_error($callable);, correct: false }
- { value: set_error_handler($callable);, correct: false }
- { value: 'VarDumper::setHandler($callable);', correct: true }
- { value: 'VarDumper::setDumper($callable);', correct: false }
help: 'https://symfony.com/doc/current/components/var_dumper.html#advanced-usage'
-
uuid: 1eebf878-8b98-6c9a-b348-99d84c92580c
question: "Is it valid to personnalize the debug toolbar like this ? setTheme('light');"
answers:
- { value: 'Yes', correct: true }
- { value: 'No', correct: false }
help: 'https://github.com/symfony/symfony/blob/6.4/src/Symfony/Component/VarDumper/Dumper/HtmlDumper.php#L97'
-
uuid: 1eebf878-8b99-61ae-89e6-99d84c92580c
question: 'Could the theme used by HtmlDumper be changed?'
answers:
- { value: 'Yes', correct: true }
- { value: 'No', correct: false }
help: 'https://symfony.com/doc/current/components/var_dumper.html#advanced-usage'
-
uuid: 1eebf878-8b99-64c4-aa39-99d84c92580c
question: 'What is the second optional parameter of the Symfony\Component\VarDumper\VarDumper::dump method ?'
answers:
- { value: 'Nothing, the Symfony\Component\VarDumper\VarDumper::dump has just one parameter.', correct: true }
- { value: 'An optional $return boolean variable to return the information rather than print it.', correct: false }
help: 'https://symfony.com/doc/current/components/var_dumper.html#the-dump-function'
-
uuid: 1eebf878-8b99-6ba4-a663-99d84c92580c
question: 'Could the dump server be configured using environment variables?'
answers:
- { value: 'Yes', correct: true }
- { value: 'No', correct: false }
help: 'https://symfony.com/doc/current/components/var_dumper.html#configuring-the-dump-server-with-environment-variables'
-
uuid: 1eebf878-8b9b-6530-9f87-99d84c92580c
question: 'What kind of help provides the config:dump-reference command?'
answers:
- { value: 'Dumps the current configuration in .htaccess format using the php_value directive', correct: false }
- { value: 'Dumps the current configuration of a bundle', correct: false }
- { value: 'Dumps the default configuration of a bundle', correct: true }
- { value: 'Adds the default configuration of a bundle in the app/config/config.yml file', correct: false }
help: 'https://symfony.com/doc/current/reference/configuration/debug.html'
-
uuid: 1eebf878-8ba1-6ade-8342-99d84c92580c
question: 'Which Dumper is not available in the VarDumper component?'
answers:
- { value: CliDumper, correct: false }
- { value: HtmlDumper, correct: false }
- { value: HttpDumper, correct: true }
help: 'https://symfony.com/doc/current/components/var_dumper/advanced.html#dumpers'
-
uuid: 1eebf878-8ba3-6d7a-9136-99d84c92580c
question: 'Could the dump() output be displayed outside of the application?'
answers:
- { value: 'Yes', correct: true }
- { value: 'No', correct: false }
help: 'https://symfony.com/doc/6.4/components/var_dumper.html#the-dump-server'