services:
    amenophis.social:
        class: Amenophis\Bundle\SocialBundle\Service\SocialManager
        arguments: [@doctrine.orm.entity_manager, @security.context, @event_dispatcher, %amenophis.social.entity.class%]

    amenophis.social.twig:
        class: Amenophis\Bundle\SocialBundle\Twig\SocialExtension
        arguments: [@amenophis.social]
        tags:
            - { name: twig.extension }
services:
    amenophis.social:
        class: Amenophis\Bundle\SocialBundle\Manager\SocialManager
        arguments: [@doctrine.orm.entity_manager, @security.context, @event_dispatcher, @fos_user.user_manager, %amenophis.social.entity.class%]

    amenophis.social.twig:
        class: Amenophis\Bundle\SocialBundle\Twig\SocialExtension
        arguments: [@amenophis.social]
        tags:
            - { name: twig.extension }
Add user_manager parameter in SocialManager service
Add user_manager parameter in SocialManager service
