File tree Expand file tree Collapse file tree 2 files changed +16
-15
lines changed Expand file tree Collapse file tree 2 files changed +16
-15
lines changed Original file line number Diff line number Diff line change @@ -18,20 +18,21 @@ be a boolean value"):
18
18
19
19
.. code-block :: yaml
20
20
21
- auto_connect : true
22
- default_connection : mysql
23
- connections :
24
- mysql :
25
- host : localhost
26
- driver : mysql
27
- username : user
28
- password : pass
29
- sqlite :
30
- host : localhost
31
- driver : sqlite
32
- memory : true
33
- username : user
34
- password : pass
21
+ database :
22
+ auto_connect : true
23
+ default_connection : mysql
24
+ connections :
25
+ mysql :
26
+ host : localhost
27
+ driver : mysql
28
+ username : user
29
+ password : pass
30
+ sqlite :
31
+ host : localhost
32
+ driver : sqlite
33
+ memory : true
34
+ username : user
35
+ password : pass
35
36
36
37
When loading multiple configuration files, it should be possible to merge
37
38
and overwrite some values. Other values should not be merged and stay as
Original file line number Diff line number Diff line change @@ -96,7 +96,7 @@ to show a link to exit impersonation:
96
96
97
97
In some cases you may need to get the object that represents the impersonator
98
98
user rather than the impersonated user. Use the following snippet to iterate
99
- over the user's roles until you find one that a ``SwitchUserRole `` object::
99
+ over the user's roles until you find one that is a ``SwitchUserRole `` object::
100
100
101
101
use Symfony\Component\Security\Core\Role\SwitchUserRole;
102
102
use Symfony\Component\Security\Core\Security;
You can’t perform that action at this time.
0 commit comments