title: Add requirements for route with annotations
body: <p>I am using the SensioFrameworkExtraBundle and trying to add a requirement for a specific parameter. I want the parameter to match a specific collection of strings.</p>
  
  <p>This example from the Symfony documentation shows what I want to do. I want to do the same thing as done with culture and _format.</p>
  
  <pre><code>article_show:
      path:     /articles/{culture}/{year}/{title}.{_format}
      defaults: { _controller: AcmeDemoBundle:Article:show, _format: html }
      requirements:
          culture:  en|fr
          _format:  html|rss
          year:     \d+
  </code></pre>
  
  <p>This is my code:</p>
  
  <pre><code> /**
    * @Route("/{type}", requirements={"type" = {html|json|xml} }, name="adm_grid")
    * @Template
   */
  </code></pre>