File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -41,6 +41,8 @@ Configuration
41
41
* `assets_base_urls `_
42
42
* `assets_version `_
43
43
* `assets_version_format `_
44
+ * `profiler `_
45
+ * `collect `_
44
46
45
47
secret
46
48
~~~~~~
@@ -384,6 +386,21 @@ would be ``/images/logo.png?version=5``.
384
386
The latter option is useful if you would like older asset versions to remain
385
387
accessible at their original URL.
386
388
389
+ profiler
390
+ ~~~~~~~~
391
+
392
+ collect
393
+ .......
394
+
395
+ **default **: ``true ``
396
+
397
+ This option configures the way the profiler behaves when it is enabled. If set
398
+ to ``true ``, the profiler collects data for all requests. If you want to only
399
+ collect information on-demand, you can set the ``collect `` flag to ``false ``
400
+ and activate the data collects by hand::
401
+
402
+ $profiler->enable();
403
+
387
404
Full Default Configuration
388
405
--------------------------
389
406
@@ -418,6 +435,7 @@ Full Default Configuration
418
435
# profiler configuration
419
436
profiler :
420
437
enabled : false
438
+ collect : true
421
439
only_exceptions : false
422
440
only_master_requests : false
423
441
dsn : file:%kernel.cache_dir%/profiler
You can’t perform that action at this time.
0 commit comments