<?xml version="1.0" encoding="UTF-8"?>

<!--

 This file is part of the Sylius package.

 (c) Sylius Sp. z o.o.

 For the full copyright and license information, please view the LICENSE
 file that was distributed with this source code.

-->

<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>
        <defaults public="true" />

        <service id="sylius.requirements" class="Sylius\Bundle\CoreBundle\Installer\Requirement\SyliusRequirements">
            <argument type="collection">
                <argument type="service">
                    <service class="Sylius\Bundle\CoreBundle\Installer\Requirement\SettingsRequirements">
                        <argument type="service" id="translator" />
                    </service>
                </argument>
                <argument type="service">
                    <service class="Sylius\Bundle\CoreBundle\Installer\Requirement\ExtensionsRequirements">
                        <argument type="service" id="translator" />
                    </service>
                </argument>
                <argument type="service">
                    <service class="Sylius\Bundle\CoreBundle\Installer\Requirement\FilesystemRequirements">
                        <argument type="service" id="translator" />
                        <argument>%kernel.cache_dir%</argument>
                        <argument>%kernel.logs_dir%</argument>
                    </service>
                </argument>
            </argument>
        </service>
    </services>
</container>
