<?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 class="AmaxLab\Bundle\BackendDesignBundle\Menu\Builder" id="amaxlab_bundle.backend_design_bundle.menu.builder">
            <argument id="knp_menu.factory" type="service"/>
            <argument id="event_dispatcher" type="service"/>
            <argument id="knp_menu.matcher" type="service"/>
        </service>

        <service id="amaxlab.backend_designer.main_menu" class="Knp\Menu\MenuItem" factory-service="amaxlab_bundle.backend_design_bundle.menu.builder" factory-method="getMenu">
            <tag name="knp_menu.menu" alias="backend_main_menu" />
        </service>

        <service id="amaxlab.backend_designer.affix_menu" class="Knp\Menu\MenuItem" factory-service="amaxlab_bundle.backend_design_bundle.menu.builder" factory-method="getAffixMenu">
            <tag name="knp_menu.menu" alias="backend_affix_menu" />
        </service>

    </services>

</container>

<?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 class="AmaxLab\Bundle\BackendDesignBundle\Menu\Builder" id="amaxlab_bundle.backend_design_bundle.menu.builder">
            <argument id="knp_menu.factory" type="service"/>
            <argument id="event_dispatcher" type="service"/>
            <argument id="knp_menu.matcher" type="service"/>
        </service>

        <service id="amaxlab.backend_designer.main_menu" class="Knp\Menu\MenuItem">
            <factory service="amaxlab_bundle.backend_design_bundle.menu.builder" method="getMenu" />
            <tag name="knp_menu.menu" alias="backend_main_menu" />
        </service>

        <service id="amaxlab.backend_designer.affix_menu" class="Knp\Menu\MenuItem">
            <factory service="amaxlab_bundle.backend_design_bundle.menu.builder" method="getAffixMenu" />
            <tag name="knp_menu.menu" alias="backend_affix_menu" />
        </service>

    </services>

</container>

Fix service settings by new symfony version
Fix service settings by new symfony version
