@@ -592,20 +592,20 @@ the configuration for the development environment:
592
592
593
593
// load the profiler
594
594
$container->loadFromExtension('framework', array(
595
- 'profiler' => array('only-exceptions ' => false),
595
+ 'profiler' => array('only_exceptions ' => false),
596
596
));
597
597
598
598
// enable the web profiler
599
599
$container->loadFromExtension('web_profiler', array(
600
600
'toolbar' => true,
601
- 'intercept-redirects ' => true,
601
+ 'intercept_redirects ' => true,
602
602
'verbose' => true,
603
603
));
604
604
605
- When ``only-exceptions `` is set to ``true ``, the profiler only collects data
605
+ When ``only_exceptions `` is set to ``true ``, the profiler only collects data
606
606
when an exception is thrown by the application.
607
607
608
- When ``intercept-redirects `` is set to ``true ``, the web profiler intercepts
608
+ When ``intercept_redirects `` is set to ``true ``, the web profiler intercepts
609
609
the redirects and gives you the opportunity to look at the collected data
610
610
before following the redirect.
611
611
@@ -643,7 +643,7 @@ If you enable the web profiler, you also need to mount the profiler routes:
643
643
);
644
644
645
645
As the profiler adds some overhead, you might want to enable it only under
646
- certain circumstances in the production environment. The ``only-exceptions ``
646
+ certain circumstances in the production environment. The ``only_exceptions ``
647
647
settings limits profiling to 500 pages, but what if you want to get
648
648
information when the client IP comes from a specific address, or for a limited
649
649
portion of the website? You can use a Profiler Matcher, learn more about that
0 commit comments