File tree Expand file tree Collapse file tree 4 files changed +9
-5
lines changed Expand file tree Collapse file tree 4 files changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -816,7 +816,9 @@ the right situation:
816816 but the overrides only apply to one environment.
817817
818818*Real * environment variables always win over env vars created by any of the
819- ``.env `` files.
819+ ``.env `` files. This behavior depends on
820+ `variables_order <http://php.net/manual/en/ini.core.php#ini.variables-order >`_ to
821+ contain an ``E `` to expose the ``$_ENV `` superglobal.
820822
821823The ``.env `` and ``.env.<environment> `` files should be committed to the
822824repository because they are the same for all developers and machines. However,
Original file line number Diff line number Diff line change @@ -44,11 +44,11 @@ squares).
4444 <object data =" _images/rate_limiter/fixed_window.svg" type =" image/svg+xml" ></object >
4545
4646Its main drawback is that resource usage is not evenly distributed in time and
47- it can overload the server at the window edges. In the previous example,
47+ it can overload the server at the window edges. In this example,
4848there were 6 accepted requests between 11:00 and 12:00.
4949
5050This is more significant with bigger limits. For instance, with 5,000 requests
51- per hour, a user could make the 4,999 requests in the last minute of some
51+ per hour, a user could make 4,999 requests in the last minute of some
5252hour and another 5,000 requests during the first minute of the next hour,
5353making 9,999 requests in total in two minutes and possibly overloading the
5454server. These periods of excessive usage are called "bursts".
Original file line number Diff line number Diff line change @@ -1655,8 +1655,10 @@ Use the ``RedirectController`` to redirect to other routes and URLs:
16551655 # * for temporary redirects, it uses the 307 status code instead of 302
16561656 # * for permanent redirects, it uses the 308 status code instead of 301
16571657 keepRequestMethod : true
1658- # add this to remove the original route attributes when redirecting
1658+ # add this to remove all original route attributes when redirecting
16591659 ignoreAttributes : true
1660+ # or specify which attributes to ignore:
1661+ # ignoreAttributes: ['offset', 'limit']
16601662
16611663 legacy_doc :
16621664 path : /legacy/doc
Original file line number Diff line number Diff line change @@ -1088,7 +1088,7 @@ with the ``default_index_method`` attribute on the tagged argument:
10881088 <!-- use getIndex() instead of getDefaultIndexName() -->
10891089 <argument type =" tagged_iterator"
10901090 tag =" app.handler"
1091- default-index-method =" someFunctionName "
1091+ default-index-method =" getIndex "
10921092 />
10931093 </service >
10941094 </services >
You can’t perform that action at this time.
0 commit comments