File tree Expand file tree Collapse file tree 2 files changed +14
-10
lines changed
Expand file tree Collapse file tree 2 files changed +14
-10
lines changed Original file line number Diff line number Diff line change @@ -2,12 +2,13 @@ Configuration
22=============
33
44Simple configuration of bundle:
5+
56.. code-block :: yaml
6- symfony_rollbar :
7- rollbar :
8- access_token : ' some-secret-token-here'
9- environment : ' %kernel.environment%'
107
8+ symfony_rollbar :
9+ rollbar :
10+ access_token : ' some-secret-token-here'
11+ environment : ' %kernel.environment%'
1112
1213 Bundle configuration
1314--------------------
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ Step 1: Download the Bundle
1212Open a command console, enter your project directory and execute the
1313following command to download the latest stable version of this bundle:
1414
15- .. code-block :: bash
15+ .. code-block :: yaml
1616
1717 $ composer require oxcom/symfony-rollbar-bundle
1818
@@ -24,7 +24,8 @@ Step 2: Enable the Bundle
2424Then, enable the bundle by adding it to the list of registered bundles
2525in the ``AppKernel::registerBundles() `` of your project:
2626
27- .. note ::
27+ .. code-block :: php
28+
2829 public function registerBundles()
2930 {
3031 $bundles = [
@@ -39,12 +40,14 @@ in the ``AppKernel::registerBundles()`` of your project:
3940 Step 3: Update configuration
4041----------------------------
4142Add new section in configuration file
43+
4244.. code-block :: yaml
45+
4346 symfony_rollbar :
44- enable : true
45- rollbar :
46- access_token : ' %ROLLBAR_ACCESS_TOKEN%'
47- environment : ' %kernel.environment%'
47+ enable : true
48+ rollbar :
49+ access_token : ' %ROLLBAR_ACCESS_TOKEN%'
50+ environment : ' %kernel.environment%'
4851
4952 Replace ``%ROLLBAR_ACCESS_TOKEN% `` with token for Rollbar
5053
You can’t perform that action at this time.
0 commit comments