<?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="office_brain_home_section.example" class="OfficeBrain\Bundle\HomeSectionBundle\Example">
            <argument type="service" id="service_id" />
            <argument>plain_value</argument>
            <argument>%parameter_name%</argument>
        </service>
    </services>
    -->

    <parameters>
        <parameter key="office_brain_home_section.home_section_service">OfficeBrain\Bundle\HomeSectionBundle\Manager\Service\HomeSectionService</parameter>
    </parameters>
    
    <services>
        
      <service id="office_brain_home_section_factory" class="%office_brain_home_section.home_section_service%"/>
        <service id="office_brain_home_section_manager" class="%office_brain_home_section.home_section_service%" scope='request'>
            <factory service="office_brain_home_section_factory" method="initFactory"/>
             <argument type="service" id="doctrine.orm.entity_manager"/>
             <argument type="service" id="request"/>
             <argument type="service" id="translator"/>
             <argument type="service" id="knp_paginator"/>
             <argument>%banner.image_path%</argument>
             <argument>%subshop_media_upload_location%</argument>
        </service>
    </services>
</container>
