FriendsOfSymfony/FOSRestBundle — pull request #715 by mgiustiniani (2014-03-17 23:53:37+00:00)
Title: add multiple routes

Add multiple router method with annotations like SymfonyFrameworkBundle.

with my router annotation

```php
/**
* @Rest\Link("/matches1", name="_a_link_method")
* @Rest\Get("/matches2", name="_a_get_method")
* @Rest\Get("/matches3", name="_an_other_get_method")
* @Rest\Post("/matches4", name="_a_post_method")
* @Rest\View(statusCode=200, serializerGroups="list")
*
*/
public function cgetAction( ParamFetcherInterface $paramFetcher)
{

....
}
```

my original route have name get_matches and with this PR i have these routes:
```bash
get_matches_a_get_method GET ANY ANY /api/matches2
get_matches_an_other_get_method GET ANY ANY /api/matches3
get_matches_a_post_method POST ANY ANY /api/matches4
get_matches_a_link_method LINK ANY ANY /api/matches1
```
see https://github.com/FriendsOfSymfony/FOSRestBundle/issues/324