title: Symfony 2.8 : Edit service config
body: <p>I'm trying to edit or override the config (admin_orm.xml) of a service (sonata.user.admin.user) which is created by SonataUserBundle. I'd like to be able to use the entitymanager in that service. Because i need to edit edit on another entity after the creation of a new user on SonataAdminBundle (<a href="https://sonata-project.org/bundles/admin/2-3/doc/reference/saving_hooks.html" rel="nofollow">https://sonata-project.org/bundles/admin/2-3/doc/reference/saving_hooks.html</a>).</p>
  
  <p>The config file:</p>
  
  <pre><code>&lt;parameters&gt;
      &lt;parameter key="sonata.user.admin.groupname"&gt;sonata_user&lt;/parameter&gt;
  &lt;/parameters&gt;
  
  &lt;services&gt;
      &lt;service id="sonata.user.admin.user" class="%sonata.user.admin.user.class%"&gt;
          &lt;tag name="sonata.admin" manager_type="orm" group="%sonata.user.admin.groupname%" label="users" label_catalogue="SonataUserBundle" label_translator_strategy="sonata.admin.label.strategy.underscore" /&gt;
          &lt;argument /&gt;
          &lt;argument&gt;%sonata.user.admin.user.entity%&lt;/argument&gt;
          &lt;argument&gt;%sonata.user.admin.user.controller%&lt;/argument&gt;
          &lt;call method="setUserManager"&gt;
              &lt;argument type="service" id="fos_user.user_manager" /&gt;
          &lt;/call&gt;
          &lt;call method="setTranslationDomain"&gt;
              &lt;argument&gt;%sonata.user.admin.user.translation_domain%&lt;/argument&gt;
          &lt;/call&gt;
      &lt;/service&gt;
  
      &lt;service id="sonata.user.admin.group" class="%sonata.user.admin.group.class%"&gt;
          &lt;tag name="sonata.admin" manager_type="orm" group="%sonata.user.admin.groupname%" label="groups" label_catalogue="SonataUserBundle"  label_translator_strategy="sonata.admin.label.strategy.underscore" /&gt;
          &lt;argument /&gt;
          &lt;argument&gt;%sonata.user.admin.group.entity%&lt;/argument&gt;
          &lt;argument&gt;%sonata.user.admin.group.controller%&lt;/argument&gt;
          &lt;call method="setTranslationDomain"&gt;
              &lt;argument&gt;%sonata.user.admin.group.translation_domain%&lt;/argument&gt;
          &lt;/call&gt;
      &lt;/service&gt;
  &lt;/services&gt;
  </code></pre>
  
  <p></p>