I have this yml code
my.oauth_aware.user_provider.service:
class: HWI\Bundle\OAuthBundle\Security\Core\User\FOSUBUserProvider
arguments: [@fos_user.user_manager,{facebook: facebook_id, google: google_id}]
However I have to translate this into XML, so I made this code.
I have one question.
<service id="my.oauth_aware.user_provider.service" class="HWI\Bundle\OAuthBundle\Security\Core\User\FOSUBUserProvider">
<argument type="service" id="fos_user.user_manager">
{facebook: facebook_id, google: google_id} #How do I write array in XML?
</service>
How do I write an array in XML??