Skip to content

Instantly share code, notes, and snippets.

@piotrbrzezina
Last active September 14, 2018 10:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save piotrbrzezina/2e77ae48d5132e2aa89107a76b253a82 to your computer and use it in GitHub Desktop.
Save piotrbrzezina/2e77ae48d5132e2aa89107a76b253a82 to your computer and use it in GitHub Desktop.
Flashcard setp 5 api platform default operation list
<?
/**
* @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