Guest User

Untitled

a guest
Dec 12th, 2018
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. <?php
  2.  
  3. // ...
  4.  
  5. /**
  6. * @ApiResource(
  7. * normalizationContext={"groups"={"subjectList"}},
  8. * denormalizationContext={"groups"={"subjectCreate"}},
  9. * itemOperations={"get","put"}
  10. * )
  11. * // ...
  12. */
  13. class Subject
  14. {
  15. // ...
  16. }
Add Comment
Please, Sign In to add comment