<?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="partkeepr.tip_of_the_day.mark_read" class="PartKeepr\TipOfTheDayBundle\Action\MarkTipReadAction">
            <argument type="service" id="api.data_provider"/>
            <argument type="service" id="doctrine.orm.entity_manager"/>
            <argument type="service" id="partkeepr.userservice"/>
        </service>
        <service id="partkeepr.tip_of_the_day.mark_all_unread"
                 class="PartKeepr\TipOfTheDayBundle\Action\MarkTipsAsUnreadAction">
            <argument type="service" id="doctrine.orm.entity_manager"/>
            <argument type="service" id="partkeepr.userservice"/>
        </service>
        <service id="partkeepr.tip_of_the_day_history.collection_get"
                 class="PartKeepr\TipOfTheDayBundle\Action\GetTipHistoryCollectionAction">
            <argument type="service" id="api.data_provider"/>
            <argument type="service" id="partkeepr.userservice"/>
        </service>
    </services>
</container>
