File tree Expand file tree Collapse file tree 3 files changed +10
-4
lines changed Expand file tree Collapse file tree 3 files changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ how to customize your form based on three common use-cases:
99 Example: you have a "Product" form and need to modify/add/remove a field
1010 based on the data on the underlying Product being edited.
1111
12- 2) :ref: `How to dynamically Generate Forms Based on user Data <form-events-user-data >`
12+ 2) :ref: `How to Dynamically Generate Forms Based on User Data <form-events-user-data >`
1313
1414 Example: you create a "Friend Message" form and need to build a drop-down
1515 that contains only users that are friends with the *current * authenticated
@@ -188,7 +188,7 @@ Great! Now use that in your form class::
188188
189189.. _form-events-user-data :
190190
191- How to dynamically Generate Forms Based on user Data
191+ How to Dynamically Generate Forms Based on User Data
192192----------------------------------------------------
193193
194194Sometimes you want a form to be generated dynamically based not only on data
Original file line number Diff line number Diff line change @@ -1639,7 +1639,7 @@ and set the ``limiter`` option to its service ID:
16391639 <!-- 2nd argument is the limiter for username+IP -->
16401640 <srv : argument type =" service" id =" limiter.username_ip_login" />
16411641 <!-- 3rd argument is the app secret -->
1642- <srv : argument type =" service " id = " %kernel.secret%" / >
1642+ <srv : argument type =" string " > %kernel.secret%</ srv : argument >
16431643 </srv : service >
16441644 </srv : services >
16451645
@@ -1683,7 +1683,7 @@ and set the ``limiter`` option to its service ID:
16831683 // 2nd argument is the limiter for username+IP
16841684 new Reference('limiter.username_ip_login'),
16851685 // 3rd argument is the app secret
1686- new Reference ('kernel.secret'),
1686+ param ('kernel.secret'),
16871687 ]);
16881688
16891689 $security->firewall('main')
Original file line number Diff line number Diff line change @@ -51,4 +51,10 @@ If you're using the :ref:`symfony binary web server <symfony-local-web-server>`
5151then it can automatically detect your Docker services and expose them as environment
5252variables. See :ref: `symfony-server-docker `.
5353
54+ .. note ::
55+
56+ macOS users need to explicitly allow the default Docker socket to be used
57+ for the Docker integration to work `as explained in the Docker documentation `_.
58+
5459.. _`https://github.com/dunglas/symfony-docker` : https://github.com/dunglas/symfony-docker
60+ .. _`as explained in the Docker documentation` : https://docs.docker.com/desktop/mac/permission-requirements/
You can’t perform that action at this time.
0 commit comments