<?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="liip_monitor.health_check.command" class="Liip\MonitorBundle\Command\HealthCheckCommand" public="true">
            <argument type="service" id="liip_monitor.helper.console_reporter" />
            <argument type="service" id="liip_monitor.helper.raw_console_reporter" />
            <argument type="service" id="liip_monitor.helper.runner_manager" />
            <tag name="console.command" command="monitor:health" />
        </service>

        <service id="liip_monitor.list_checks.command" class="Liip\MonitorBundle\Command\ListChecksCommand" public="true">
            <argument type="service" id="liip_monitor.helper.runner_manager" />
            <argument type="service" id="liip_monitor.runner" />
            <tag name="console.command" command="monitor:list" />
        </service>
    </services>
</container>