````yaml
services:
    acme.blog.repository.event:
        class: Acme\BlogBundle\Entity\Repository\PostRepository
        arguments: ['Acme\BlogBundle\Entity\Blog']
        calls:
            - [setLogger, ["@logger"]]
````