Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- // ...
- /**
- * @ApiResource(
- * normalizationContext={"groups"={"subjectList"}},
- * denormalizationContext={"groups"={"subjectCreate"}},
- * itemOperations={"get","put"}
- * )
- * // ...
- */
- class Subject
- {
- // ...
- }
Add Comment
Please, Sign In to add comment