Last active
September 14, 2018 10:29
-
-
Save piotrbrzezina/2e77ae48d5132e2aa89107a76b253a82 to your computer and use it in GitHub Desktop.
Flashcard setp 5 api platform default operation list
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<? | |
/** | |
* @ApiResource( | |
* collectionOperations={ | |
* "get", // pobieranie list elementów | |
* "post" // tworzenie nowego elementu | |
* }, | |
* itemOperations={ | |
* "get", // pobieranie konrketnego elementu | |
* "put", // aktualizacja | |
* "delete" // usuwanie | |
* } | |
* ) | |
*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment