partkeepr

fork of partkeepr
git clone https://git.e1e0.net/partkeepr.git
Log | Files | Refs | Submodules | README | LICENSE

services.xml (1758B)


      1 <?xml version="1.0" ?>
      2 
      3 <container xmlns="http://symfony.com/schema/dic/services"
      4            xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      5            xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">
      6 
      7     <services>
      8         <service id="partkeepr_systemservice" class="PartKeepr\CoreBundle\Services\SystemService">
      9             <argument type="service" id="doctrine"/>
     10             <argument type="service" id="service_container"/>
     11             <argument type="service" id="partkeepr.versionservice"/>
     12             <argument type="service" id="partkeepr.cronlogger_service"/>
     13         </service>
     14         <service id="partkeepr.systemnoticeservice" class="PartKeepr\CoreBundle\Services\SystemNoticeService">
     15             <argument type="service" id="doctrine.orm.entity_manager"/>
     16         </service>
     17         <service id="partkeepr.versionservice" class="PartKeepr\CoreBundle\Services\VersionService">
     18             <argument type="service" id="partkeepr.systemnoticeservice"/>
     19             <argument type="service" id="translator"/>
     20             <argument type="service" id="partkeepr.remote_file_loader.factory"/>
     21         </service>
     22         <service id="partkeepr.listener.request_exception" class="PartKeepr\CoreBundle\EventListener\RequestExceptionListener">
     23             <argument type="service" id="api.serializer" />
     24             <argument type="service" id="api.data_provider" />
     25             <argument type="service" id="api.iri_converter" />
     26             <argument type="service" id="doctrine_reflection_deletion_service"/>
     27 
     28 
     29             <tag name="kernel.event_listener" event="kernel.exception" method="onKernelException" priority="999"/>
     30         </service>
     31     </services>
     32 </container>