I'm building rest API
, and have method to save posts.
postPostAction(Request $request)
{
}
my POST
request contains all Entity/Post
properties
How to use ParamConverter
to have Entity/Post
in this method parameters like:
postPostAction(Post $post)
{
}
Do I need create custom ParamConverter
, or it make sense using ParamConverter only with PUT
and GET
?