Advertisement
Guest User

Untitled

a guest
Feb 24th, 2017
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | None | 0 0
  1. # service 'app.user_to_username'
  2. <service id="app.user_to_username_transformer" class="AppBundle\Form\DataTransformer\UserToUsernameTransformer">
  3. <argument type="service" id="doctrine" />
  4. </service>
  5.  
  6. # service 'fos_user.user_to_username_transformer
  7. <service id="fos_user.user_to_username_transformer" alias="app.user_to_username_transformer" />
  8.  
  9.  
  10. services:
  11. #..
  12. app.user_to_username:
  13. class: AppBundle\Form\DataTransformer\UserToUsernameTransformer
  14. arguments:
  15. - "@doctrine"
  16. fos_user.user_to_username:
  17. alias: app.user_to_username_transformer
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement