Replaced old way of specifying http method by the new one

| Q                  | A
| ---------------- | ---
| Doc fix?        | yes
| New docs?   | no
| Applies to     | 2.5+
| Fixed tickets | 
Indeed, you can see an example as a reference [here](http://symfony.com/doc/current/book/routing.html#adding-http-method-requirements).