-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathservices.xml
executable file
·25 lines (21 loc) · 1.18 KB
/
services.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<?xml version="1.0" ?>
<container xmlns="http://symfony.com/schema/dic/services"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">
<parameters>
<parameter key="sentry.dsn">%kunstmaan_sentry.dsn%</parameter>
<parameter key="sentry.client.class">Kunstmaan\SentryBundle\Raven\Raven</parameter>
<parameter key="sentry.exception_listener.class">Kunstmaan\SentryBundle\EventListener\ExceptionListener</parameter>
<parameter key="sentry.shutdown_listener.class">Kunstmaan\SentryBundle\EventListener\ShutdownListener</parameter>
</parameters>
<services>
<service id="sentry.client" class="%sentry.client.class%">
<argument>%sentry.dsn%</argument>
<argument>%kernel.environment%</argument>
</service>
<service id="sentry.exception_listener" class="%sentry.exception_listener.class%">
<tag name="kernel.event_listener" event="kernel.exception" method="onKernelException" />
<argument type="service" id="sentry.client" />
</service>
</services>
</container>