PHP Classes

File: Resources/config/services.xml

Recommend this page to a friend!
  Classes of Mohamed Aymen Ben Slimane   Exceptionizer Bundle   Resources/config/services.xml   Download  
File: Resources/config/services.xml
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Exceptionizer Bundle
Throw exceptions that can be caught with listeners
Author: By
Last change:
Date: 9 years ago
Size: 1,276 bytes
 

Contents

Class file image Download
<?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"> <services> <service id="exceptionizer.thrower" class="Mabs\ExceptionizerBundle\Exceptionizer\Thrower"> <argument type="service" id="event_dispatcher"/> </service> <service id="exceptionizer.catcher" class="Mabs\ExceptionizerBundle\Exceptionizer\Catcher"> <argument type="service" id="event_dispatcher"/> </service> <service id="exceptionizer" class="Mabs\ExceptionizerBundle\Service\Exceptionizer"> <argument type="service" id="exceptionizer.thrower"/> <argument type="service" id="exceptionizer.catcher"/> <argument>%mabs_exceptionizer%</argument> </service> <service id="exceptionizer.listener" class="Mabs\ExceptionizerBundle\EventListener\MabsExceptionizerListener"> <argument type="service" id="logger"/> <tag name="kernel.event_listener" event="exceptionizer.pre_throw" method="onPreThrowException" /> </service> </services> </container>