File tree 1 file changed +18
-0
lines changed 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
~~~~~~
@@ -398,6 +400,21 @@ would be ``/images/logo.png?version=5``.
398
400
The latter option is useful if you would like older asset versions to remain
399
401
accessible at their original URL.
400
402
403
+ profiler
404
+ ~~~~~~~~
405
+
406
+ collect
407
+ .......
408
+
409
+ **default **: ``true ``
410
+
411
+ This option configures the way the profiler behaves when it is enabled. If set
412
+ to ``true ``, the profiler collects data for all requests. If you want to only
413
+ collect information on-demand, you can set the ``collect `` flag to ``false ``
414
+ and activate the data collects by hand::
415
+
416
+ $profiler->enable();
417
+
401
418
Full Default Configuration
402
419
--------------------------
403
420
@@ -432,6 +449,7 @@ Full Default Configuration
432
449
# profiler configuration
433
450
profiler :
434
451
enabled : false
452
+ collect : true
435
453
only_exceptions : false
436
454
only_master_requests : false
437
455
dsn : file:%kernel.cache_dir%/profiler
You can’t perform that action at this time.
0 commit comments