File tree 1 file changed +7
-1
lines changed
1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -389,6 +389,12 @@ would be ``/images/logo.png?version=5``.
389
389
profiler
390
390
~~~~~~~~
391
391
392
+ .. versionadded :: 2.3
393
+
394
+ The ``collect `` option is new in Symfony 2.3. Previously, when ``profiler.enabled ``
395
+ was false, the profiler *was * actually enabled, but the collectors were
396
+ disabled. Now the profiler and collectors can be controller independently.
397
+
392
398
collect
393
399
.......
394
400
@@ -397,7 +403,7 @@ collect
397
403
This option configures the way the profiler behaves when it is enabled. If set
398
404
to ``true ``, the profiler collects data for all requests. If you want to only
399
405
collect information on-demand, you can set the ``collect `` flag to ``false ``
400
- and activate the data collects by hand::
406
+ and activate the data collectors by hand::
401
407
402
408
$profiler->enable();
403
409
You can’t perform that action at this time.
0 commit comments