<?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="Huebert\SeoUltimate\Core\Content\SeoUltimate\SeoUltimateDefinition">
            <tag name="shopware.entity.definition" entity="hueb_seo_ultimate_templates" />
        </service>
        <service id="Huebert\SeoUltimate\Core\Content\SeoUltimateSaved\SeoUltimateSavedDefinition">
            <tag name="shopware.entity.definition" entity="hueb_seo_ultimate_templates_saved" />
        </service>
        <service id="Huebert\SeoUltimate\Core\Content\SeoUltimateRobotTags\SeoUltimateRobotTagsDefinition">
            <tag name="shopware.entity.definition" entity="hueb_seo_ultimate_robot_tags" />
        </service>
        <service id="Huebert\SeoUltimate\Core\Content\SeoUltimateRichSnippets\SeoUltimateRichSnippetsDefinition">
            <tag name="shopware.entity.definition" entity="hueb_seo_ultimate_rich_snippets" />
        </service>

        <service id="Huebert\SeoUltimate\Core\Content\SeoUltimateConversion\SeoUltimateConversionDefinition">
            <tag name="shopware.entity.definition" entity="hueb_seo_config"/>
        </service>
        <service id="Huebert\SeoUltimate\Core\Content\Aggregate\SeoUltimateConversionTranslation\SeoUltimateConversionTranslationDefinition">
            <tag name="shopware.entity.definition" entity="hueb_seo_config_translation"/>
        </service>

        <service id="Huebert\SeoUltimate\Storefront\Page\Product\Subscriber\ProductPageLoadedSubscriber">
            <argument type="service" id="hueb_seo_ultimate_robot_tags.repository" />
            <argument type="service" id="hueb_seo_ultimate_rich_snippets.repository" />
            <tag name="kernel.event_subscriber"/>
        </service>
        <service id="Huebert\SeoUltimate\Storefront\Page\Navigation\Subscriber\NavigationPageLoadedSubscriber">
            <argument type="service" id="hueb_seo_ultimate_robot_tags.repository" />
            <tag name="kernel.event_subscriber"/>
        </service>
        <service id="Huebert\SeoUltimate\Subscriber\ThemeVariablesSubscriber">
            <argument type="service" id="Shopware\Core\System\SystemConfig\SystemConfigService"/>
            <argument type="service" id="hueb_seo_config.repository" />
            <tag name="kernel.event_subscriber"/>
        </service>
        <service id="Huebert\SeoUltimate\Subscriber\GenericPageSubscriber">
            <argument type="service" id="Shopware\Core\System\SystemConfig\SystemConfigService"/>
            <argument type="service" id="hueb_seo_config.repository" />
            <tag name="kernel.event_subscriber"/>
        </service>
    </services>
</container>
