I am using a FOSRestBundle and I am pretty new in Symfony.
I've been following some exemples I've seen but I can't add more than one parameter in the request.
For example
/**
*
* @param string $id Identifier
* @return [type] [description]
*
* @ApiDoc()
*/
public function getProductsAction($id)
{
return myfunction($id);
}
works fine, but if I want to do a variation like this:
/**
*
* @param string $id Identifier
* @return [type] [description]
*
* @ApiDoc()
*/
public function getProductsAction($id, $month)
{
return myfunction($id, $month);
}
It doesn't work. It identifies only the $id
There is any limitation I am not aware? or some extra configuration beyond the simple modification I did?