Skip to content

Instantly share code, notes, and snippets.

@mysiar
Created February 23, 2018 12:42
Show Gist options
  • Save mysiar/b0c08d2d2570afa2e2084bb13aafaa77 to your computer and use it in GitHub Desktop.
Save mysiar/b0c08d2d2570afa2e2084bb13aafaa77 to your computer and use it in GitHub Desktop.
Symfony 4 Service XML defintions
<services>
<!--REPOSITORY-->
<service id="test.provider_low_level_config_repository" class="mysiar\AppBundle\Repository\ConfigRepository">
<factory service="doctrine.orm.entity_manager" method="getRepository" />
<argument type="string">mysiar\AppBundle\Entity\Config</argument>
</service>
</services>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment